-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add --wrap=sentence #7435
Comments
This commit converts the Open Hardware reading list from Markdown into an AsciiDoc format. This is a clean conversion with no additional changes made by me. This is done in part to demonstrate how I normally hand-convert these files using a `pandoc`-driven workflow. Part of #43. A conversion example for jgm/pandoc#7435. Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <jflory@unicef.org>
Do you know about |
I mention Automatically detecting sentence boundaries isn't easy or reliable (esp. when you support many languages). For example, consider:
In the first example there are two sentences; in the second just one. Figuring that out requires a pretty good grasp of English syntax and abbreviation conventions, and pandoc isn't that smart. |
That said, in the |
Perhaps we could contemplate adding |
Describe your proposed improvement and the problem it solves.
This is important to me because I always hand-edit pandoc-exported AsciiDoc files to make these changes. It would save me manual time and effort to have AsciiDoc output from pandoc follow the one sentence per line recommended practice. This practice is one of the reasons I choose to use AsciiDoc in projects, so I often rely on pandoc for converting content into AsciiDoc.
Conversion example
Before (gfm):
After (AsciiDoc):
Describe alternatives you've considered.
Hand-editing these changes into pandoc output. This is lengthy and time-consuming for lengthy documents. Implementing this would save me and other AsciiDoc writers time when following this convention.
Thanks for your consideration! pandoc helps me a lot and it is incredibly useful! 🙌🏻
The text was updated successfully, but these errors were encountered: