You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, raw HTML tags in the Markdown source are usually ignored or passed through to Pandoc, which ignores them. This doesn't work well for a few reasons:
ID attributes are ignored, resulting in broken links
This doesn't handle raw HTML inlines e.g. <a href="foo"></a>
Filters run after the reader is finished, so this won't work for HTML containing links (they need to be corrected with --file-scope)
Considerations:
Parsing should happen before mdbook-pandoc does its preprocessing pass. Accomplishing this without running Pandoc once per HTML section in each source file seems difficult
Parsing should happen before Pandoc is run with --file-scope so links in raw HTML are adjusted correctly
Currently, raw HTML tags in the Markdown source are usually ignored or passed through to Pandoc, which ignores them. This doesn't work well for a few reasons:
href
,src
, etc.) aren't normalized/rebased<dl>
,<dt>
, and<dd>
are ignored (see Render book as PDF inpublish.yml
workflow google/comprehensive-rust#1572 (comment))Options:
<a href="foo"></a>
--file-scope
)Considerations:
mdbook-pandoc
does its preprocessing pass. Accomplishing this without running Pandoc once per HTML section in each source file seems difficult--file-scope
so links in raw HTML are adjusted correctlySee also:
The text was updated successfully, but these errors were encountered: