Once you’ve done the above, delete everything above this line.
Steps to reproduce
- Create a markdown codeblock in nix like this
let
inherit (pkgs.stdenv) hostPlatform;
mount_path =
if hostPlatorm.system == "aarch64-darwin" then
"/Volumes"
else
"/mnt";
in
- Wrap the codeblock in a blockquote with callouts/styled blockquote.
[!EXAMPLE]
let inherit (pkgs.stdenv) hostPlatform; mount_path = if hostPlatorm.system == "aarch64-darwin" then "/Volumes" else "/mnt"; in
- Code block in quote block have syntax highlighting.
Did you read and follow the Troubleshooting Guide? [Yes/No]
Expected result
Prismjs supports nix so there should be syntax highlighting for nix regardless of callouts.
Actual result
No syntax highlighting for nix code.
Environment
SYSTEM INFO:
Obsidian version: 1.13.8 (367)
API version: 1.13.8
Operating system: Android 16 (samsung SM-F946B)
Webview version: 153.0.8010.36
Login status: logged in
Language: en
Catalyst license: none
Live preview: on
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
This section was written in Obsidian first.

