• Resolved liquidmind

    (@liquidmind)


    The YAML syntax highlighting looks wonky in a few places (see attached link); for example, numbers in line #25, 29 and 43 are inconsistently highlighted, as is the property value WordPress: in line #53. Switching themes did not make any difference. Any help is appreciated.

    Thanks.

    • This topic was modified 3 years, 7 months ago by liquidmind.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Glad to help.

    I do see what you are referring to.

    The plugin however only loads the Highlight.js or Prism.js scripts and styles. It adds them exactly as provided via the official Highlight/Prims source, without any modification. Looking at your pages, it appears that the plugin is doing its part in this regard.

    Best advice would be to report the issue to Prism.js developers. They will be able to resolve any issue with the scripts/styles not working correctly. And it *looks* like the issue already has been reported here, so it may just be a matter of time before resolved.

    I hope this helps. Let me know if I can provide any further infos.

    Thread Starter liquidmind

    (@liquidmind)

    Thanks for the link, looks like that particular (old) issue was fixed by adding the leading --- to the code. I already had that, did not help, so this seems a new issue. I just confirmed it on their official page, looks exactly as on my page, so the issue indeed is with Prism.js. I’ll try to raise it with them.

    Thanks again.

    UPDATE: Issue raised.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘YAML highlighting issues’ is closed to new replies.