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

Attributes on paragraphs do not get carried over to pandoc AST #99

Open
calebeby opened this issue Sep 21, 2024 · 1 comment
Open

Attributes on paragraphs do not get carried over to pandoc AST #99

calebeby opened this issue Sep 21, 2024 · 1 comment

Comments

@calebeby
Copy link

If I use pandoc directly:

{.class-name}
hello

results in a wrapper div with the class attached, and the paragraph inside the div.

If I use djot.js djot.toPandoc(djot.parse(...)), only a paragraph is returned, without the attribute.

@jgm
Copy link
Owner

jgm commented Sep 22, 2024

I'm open to changes to the pandoc module that add these wrapper divs and spans, as pandoc does.

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