Skip to content

Question: How to stop modifying content within <script></script> #1172

Closed
@neoblizz

Description

@neoblizz

I have two separate but related problems. I have a bunch of graphs in the markdown files that get displayed through vega, vega-lite, vega-embed scripts. And the script tag within the page contains a dump of JSON data.

  • First problem is that only one graph shows in the page (the page has 3): Page & Source

  • And the second problem is that <a href="https://... is being converted to <a href=&quot;<a href="https://..., which is causing the graph on this page to break: Page & Source

  • A separate problem was that some of the tags were turning into emojis, so I just turned on the setting noEmoji and it fixed that problem.

The last two things I mentioned I believe have to do with docsify modifying the content within the <script> tags. I don't understand why the first one is not displaying all the graphs.

Any guidance on how we should display these vega graphs would be helpful! Thank you!

I am enabling the support for vega with the following includes: https://github.com/gunrock/docs/blob/develop/docs/index.html#L25-L28

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions