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
Your documentation themes do not work for me and solarized dark causes an actual error
The --highlight-style option can receive the name of a Hightlight.js style (file name without extension, e.g. solarized-dark) or the path to a custom style file (a local path or a HTTP URL).
Error: Invalid highlight style 'solarized-dark': file not found or not readable.
at Style.validate (file:///C:/site/docs/node_modules/markdown-to-document/src/style.js:177:13)
at async Style.loadHighlightStyle (file:///C:/site/docs/node_modules/markdown-to-document/src/style.js:160:19)
at async Style.init (file:///C:/site/node_modules/markdown-to-document/src/style.js:77:28)
at async Processor.process (file:///C:/site/docs/node_modules/markdown-to-document/src/processor.js:63:5)
The text was updated successfully, but these errors were encountered:
Only highlight styles located at the root of the styles/ directory of Hightlight.js can be provided without a full path: https://www.jsdelivr.com/package/npm/highlight.js?path=styles. It seems that solarized-dark has been moved to the subfolder base16/ in a later version of Highlight.js. So you can:
Use a "root" Highlight.js style: monokai, github, ...
Wait for a future release of Markdown To Document where I will allow to use by name Highlight.js styles located in the base16/ subfolder (thanks for pointing out the issue) 🙂
Your documentation themes do not work for me and solarized dark causes an actual error
The --highlight-style option can receive the name of a Hightlight.js style (file name without extension, e.g. solarized-dark) or the path to a custom style file (a local path or a HTTP URL).
Error: Invalid highlight style 'solarized-dark': file not found or not readable.
at Style.validate (file:///C:/site/docs/node_modules/markdown-to-document/src/style.js:177:13)
at async Style.loadHighlightStyle (file:///C:/site/docs/node_modules/markdown-to-document/src/style.js:160:19)
at async Style.init (file:///C:/site/node_modules/markdown-to-document/src/style.js:77:28)
at async Processor.process (file:///C:/site/docs/node_modules/markdown-to-document/src/processor.js:63:5)
The text was updated successfully, but these errors were encountered: