Closed pettersillander closed 7 months ago
Hello ! SQLPage does not contain a syntax highighter by default, but you can easily include a syntax highlighter of your choice in your pages. See how it's done on the official site: https://sql.ophir.dev/documentation.sql?component=shell#component
select
'shell' as component,
'https://cdn.jsdelivr.net/npm/prismjs@1/components/prism-core.min.js' as javascript,
'https://cdn.jsdelivr.net/npm/prismjs@1/plugins/autoloader/prism-autoloader.min.js' as javascript,
'/prism-tabler-theme.css' as css
https://github.com/lovasoa/SQLpage/blob/main/examples/official-site/prism-tabler-theme.css
(the custom css is optional, but I think it looks good with the tabler theme)
Ok, makes sense. So this is not bug then.
Introduction
Syntax highlighting in markdown code block doesn't work. Code block is shown on the page but without highlighting.
To Reproduce
' as contents_md;
Version information