Title: | Unleash Useful Linebreaks in Markdown Documents |
---|---|
Description: | Add linebreaks at the end of sentences and remove other linebreaks. |
Authors: | Maëlle Salmon [cre, aut] |
Maintainer: | Maëlle Salmon <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.0.0.9000 |
Built: | 2024-12-12 16:28:43 UTC |
Source: | https://github.com/ropenscilabs/aeolus |
Currently unleash()
only adds line breaks after sentences.
For better results,
you should also add line breaks after long sentence parts, manually.
unleash(path, new_path = path)
unleash(path, new_path = path)
path |
Path to the Markdown file |
new_path |
Path where to save the new file |
Path to the new file (invisibly)
markdown_file <- system.file("example.md", package = "aeolus") readLines(markdown_file) unleash(markdown_file) readLines(markdown_file)
markdown_file <- system.file("example.md", package = "aeolus") readLines(markdown_file) unleash(markdown_file) readLines(markdown_file)