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

org-mode reader does not recognize COMMENT keyword #1678

Closed
slitvinov opened this issue Oct 11, 2014 · 0 comments · Fixed by #1702
Closed

org-mode reader does not recognize COMMENT keyword #1678

slitvinov opened this issue Oct 11, 2014 · 0 comments · Fixed by #1702

Comments

@slitvinov
Copy link

org-mode reader does not recognize COMMENT keyword at the beginning of
a header.

See http://orgmode.org/manual/Comment-lines.html

With this file c.org

* COMMENT Test

Command

pandoc -f org -t json c.org

gives

[{"unMeta":{}},[{"t":"Header","c":[1,["",[],[]],[{"t":"Str","c":"COMMENT"},{"t":"Space","c":[]},{"t":"Str","c":"Test"}]]}]]

I expect no header in the output.

tarleb added a commit to tarleb/pandoc that referenced this issue Oct 18, 2014
Document trees under a header starting with the word `COMMENT` are
comment trees and should not be exported.  Those trees are dropped
silently.

This closes jgm#1678.
tarleb added a commit to tarleb/pandoc that referenced this issue Oct 18, 2014
Document trees under a header starting with the word `COMMENT` are
comment trees and should not be exported.  Those trees are dropped
silently.

This closes jgm#1678.
@jgm jgm closed this as completed in #1702 Oct 18, 2014
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 a pull request may close this issue.

1 participant