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

GFM Support for Task Lists (feature request) #3311

Closed
tajmone opened this issue Dec 13, 2016 · 2 comments
Closed

GFM Support for Task Lists (feature request) #3311

tajmone opened this issue Dec 13, 2016 · 2 comments

Comments

@tajmone
Copy link
Contributor

tajmone commented Dec 13, 2016

Pandoc doesn't currently (v1.19) support GitHub Flavored Markdown's Task Lists.

If I use them in a markdown document, likes this:

- [ ] Mercury
- [x] Venus
- [x] Earth (Orbit/Moon)

and then I use pandoc to clean up the markdown source:

pandoc -f markdown_github -t markdown_github

the file gets cleaned up, except for the Task List, which gets corrupted by escaping the brackets:

-   \[ \] Mercury
-   \[x\] Venus
-   \[x\] Earth (Orbit/Moon)

That's a pity. Pandoc is a great tool for cleaning up markdown source files (especially with --smart --wrap=none --normalize options): you get properly aligned tables, a standard syntax (where multiple syntaxes are possible), normalization of extra whitespaces, etc. -- all of which is not only good for the eye, but also in Git controlled projects, because it reduces diffing nightmares and false positives in status changes.

But right now, this can't be used on GFM docs which make use of Tasks List — else they break up.

Tasks Lists being part of the GFM standard, they ought be implemented in pandoc's markdown_github.

@jgm
Copy link
Owner

jgm commented Dec 13, 2016

Dup of #3051 - please add anything there that you think is missing.

@jgm jgm closed this as completed Dec 13, 2016
@tajmone
Copy link
Contributor Author

tajmone commented Dec 13, 2016

Sorry, I had searched the Issues for "task lists" and thought it wasn't raised before! Mea culpa.

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

No branches or pull requests

2 participants