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

Add support for implicit_header_references to chunkedhtml #8662

Closed
ipetraka opened this issue Mar 1, 2023 · 1 comment
Closed

Add support for implicit_header_references to chunkedhtml #8662

ipetraka opened this issue Mar 1, 2023 · 1 comment

Comments

@ipetraka
Copy link

ipetraka commented Mar 1, 2023

Describe your proposed improvement and the problem it solves.

I far prefer using implicit heading references when writing, as they keep the text clean and easy to edit . One does not need to be aware of how headings will be turned into internal HTML anchor IDs and anticipate that. All the good things [This Section Name] lets us do. I'm also loving the new chunkedhtml output. It's great for spitting out quick internal docs and rapidly keep them up to date with minimal fuss.

Unfortunately it seems the new chunkedhtml output method has no support for this capability. I have tried adding the extension to both the -f markdown argument and the -t chunkedhtml argument, and I get no feedback on the former (and no change in behaviour), and on the latter I get:

The extension implicit_header_references is not supported for chunkedhtml

As I ordinarily never have to turn this extension on in the first place, I suspect the problem is exactly what the error message states, it's just not an option with chunkedhtml.

Hopefully this is something on the milestone list anyway and just not implemented yet, but if not, I hope it is considered.

Current Pandoc version: 3.1 / Linux (.deb install)

@ipetraka
Copy link
Author

ipetraka commented Mar 1, 2023

Hmm, on further testing with a simpler example, I find it is working. Perhaps I have some conflicting arguments in the larger setup I am currently working with. I'll try to isolate what is going on and maybe file it differently.

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

No branches or pull requests

1 participant