Skip to content

How do you retain positioning information? #88

Discussion options

You must be logged in to vote

Hey @NullVoxPopuli! Sorry you ran into a spot of trouble.
This sounds a lot like remarkjs/remark#922
Here you are using an HTML parser, to parse an HTML-like (but not HTML) templating language.

The handlebars like syntax ({{content-for "head"}}) is throwing off the interpretation.
pre-processing the text before handing off to rehype could work, or rehype could be customized to parse the handlebars-like-syntax.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@NullVoxPopuli
Comment options

@wooorm
Comment options

@NullVoxPopuli
Comment options

Comment options

You must be logged in to vote
4 replies
@NullVoxPopuli
Comment options

@ChristianMurphy
Comment options

@NullVoxPopuli
Comment options

@ChristianMurphy
Comment options

Answer selected by ChristianMurphy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants