Currently all examples in options are rendered without Syntax Highlighting.
I noticed this in NVF on: https://github.com/NotAShelf/nvf/pull/1604|
you can't also just use litteralMD as a workaround in the examples
{
description = ''
The queries scm script.
Example:
```nix
{
query = '''
;; extends
((apply_expression
function: (variable_expression
name: (identifier) @_func
(#eq? @_func "mkLuaInline"))
argument: (indented_string_expression
(string_fragment) @injection.content)
(#set! injection.language "lua")
(#set! injection.combined)))
''';
}
```
'';
example = literalMD ''
```nix
{
query = '''
;; extends
((apply_expression
function: (variable_expression
name: (identifier) @_func
(#eq? @_func "mkLuaInline"))
argument: (indented_string_expression
(string_fragment) @injection.content)
(#set! injection.language "lua")
(#set! injection.combined)))
''';
}
```
'';
}
Currently all examples in options are rendered without Syntax Highlighting.
I noticed this in NVF on: https://github.com/NotAShelf/nvf/pull/1604|
you can't also just use litteralMD as a workaround in the examples