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)
Set Visual editor's Markdown wrapping option to "Sentence" (RStudio IDE).
use_sentence_linebreaks(scope = c("user", "project"))
use_sentence_linebreaks(scope = c("user", "project"))
scope |
Edit globally for the current user, or locally for the current project. |
Nothing, used for its side-effects.