Skip to content
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

Markdown writer: Add --bullet-list-marker argument option. #1826

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nishidayuya
Copy link

Markdown reader understands all of bullet list marker (-, + and * character). But Markdown writer cannot use + and * character to bullet list marker.

This pull-request adds --bullet-list-marker argument to resolve it.


Input file is:

yuya@yoshiyuki|20:18:19|0% cat /tmp/a.textile
* foo
* bar
* baz

No --bullet-list-marker argument:
(equivalent to --bullet-list-marker=minus)

yuya@yoshiyuki|20:21:01|0% ./dist/build/pandoc/pandoc -t markdown /tmp/a.textile
-   foo
-   bar
-   baz

--bullet-list-marker=plus argument:

yuya@yoshiyuki|20:21:45|0% ./dist/build/pandoc/pandoc -t markdown --bullet-list-marker=plus /tmp/a.textile
+   foo
+   bar
+   baz

--bullet-list-marker=asterisk argument:

yuya@yoshiyuki|20:22:13|0% ./dist/build/pandoc/pandoc -t markdown --bullet-list-marker=asterisk /tmp/a.textile
*   foo
*   bar
*   baz

Supports `+` bullet list marker using `--bullet-list-marker=plus` and
`*` bullet list marker using `--bullet-list-marker=asterisk`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant