-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
love this theme, thanks for making it.
not sure if this is a theme issue, obsidian issue, or something else — but figured i'd start here.
i have a codeblock like such in obsidian (using the apacheconf type on it):
symbol_map U+23FB-U+23FE,U+2665,U+26A1,U+2B58,U+E000-U+E00A,U+E0A0-U+E0A3,U+E0B0-U+E0C8,U+E0CA,U+E0CC-U+E0D2,U+E0D4,U+E200-U+E2A9,U+E300-U+E3E3,U+E5FA-U+E62F,U+E700-U+E7C5,U+F000-U+F2E0,U+F300-U+F31C,U+F400-U+F4A9,U+F500-U+F8FF Symbols Nerd Font Monothough here's a more typical one, a ye olde .htaccess file (again, using the apacheconf type on it):
AuthType Basic
AuthName "Restricted Content"
AuthUserFile /etc/apache2/.htpasswd
Require valid-user... and yet the codeblock has no syntax highlighting in obsidian whilst using this theme:
i did some digging and found that Obsidian is using PrismJS for highlighting:
and PrismJS does support highlighting apacheconf:
https://prismjs.com/#supported-languages:~:text=Apache%20Configuration
EDIT: and just to confirm, syntax highlighting is working for other languages:

any ideas why these codeblocks aren't being highlighted properly?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels