highlightjs / highlightjs-structured-text

Highlightjs Structured Text language support IEC 61131-3
BSD 3-Clause "New" or "Revised" License
20 stars 6 forks source link

docusaurus support #23

Closed kdpuvvadi closed 1 year ago

kdpuvvadi commented 1 year ago

highligh.js is already included in the docusaurus. How do we import highlightjs-structured-text use for st.

Thanks.

Serhioromano commented 1 year ago

docusaurus has to have interface to configure HLJS. In that point you can inject this highlight.

Serhioromano commented 1 year ago

@kdpuvvadi If you solved this, I would look at how it is done and add example to readme.