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

In Org mode, Header with level > 3 are not recognized as headers #7236

Closed
bitspook opened this issue Apr 22, 2021 · 4 comments · Fixed by #7238
Closed

In Org mode, Header with level > 3 are not recognized as headers #7236

bitspook opened this issue Apr 22, 2021 · 4 comments · Fixed by #7238

Comments

@bitspook
Copy link

Pandoc version: 2.12

Also behaves this way on https://pandoc.org/try/?text=***+Level+3%0A****+Level+4%0A%0A&from=org&to=org&standalone=0

pandoc-org-mode-header-misread-bug

@jgm
Copy link
Owner

jgm commented Apr 22, 2021

I believe this is intentional.
Have you looked through https://pandoc.org/org.html?
[Edit: I don't see anything useful there, but this issue rings a bell for me. Perhaps @tarleb can comment.]

@bitspook
Copy link
Author

bitspook commented Apr 22, 2021

Have you looked through https://pandoc.org/org.html?

I have. And yeah, nothing useful related to this there. I'll appreciate if you can give some context about why this behavior is in place; it'll also help me with some other concerns I have related to org-mode reading and writing. e.g is it reasonable to consider "write what you read" as a goal for Pandoc (e.g if I read an org-mode file, writing it back should at least be syntactically correct).

@tarleb
Copy link
Collaborator

tarleb commented Apr 22, 2021

See #3214, #5169, #6145. It would no doubt be good to mention this prominently in docs/org.md.

@bitspook
Copy link
Author

Thank you for finding and linking those issues. I was somehow unable to find them during my search. I've created a PR (#7238) adding a note in the docs, please review and suggest changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants