A fill.el
extension for formatting Markdown allowing only one sentence per line.
This is alpha grade software - it works on my machine and for my purposes but may not work on yours.
I suggest vendoring this package as a git dep, or just by copying the ospl-mode.el
file for the time being.
PRs to set up MELPA deployment or such welcomed.
For those of you using use-package.el
,
;; Or wherever you checkec the repo out to
(add-to-list 'load-path (expand-file-name "~/.emacs.d/local/ospl-mode))
(use-package 'ospl-mode)
(use-package markdown-mode
:ensure t
:config
(add-hook 'markdown-mode-hook 'ospl-mode))
Or better yet via DOOM-emacs
;; in ~/.doom.d/packages.el
(package! ospl-mode
:recipe (:host github
:repo "arrdem/ospl-mode"
:branch "v0.1.0"))
This code was derived from this StackOverflow answer, which bears no license.
My contributions to this project (the majority of it) are made available under the terms of the GNU General Public License V3 or later.