-
I have been playing around with client side JavaScript source code highlighters in other projects and I think it would be useful here as well. The two key features I believe users benefit most from:
1…
-
```
I Use Syntax Highlighter to highlight the code got from database
Next, I Use function nl2br() in PHP to turn new-line char (/n) to "" tag
The Problem is:
Text outside is displayed normally, but t…
-
```
I Use Syntax Highlighter to highlight the code got from database
Next, I Use function nl2br() in PHP to turn new-line char (/n) to "" tag
The Problem is:
Text outside is displayed normally, but t…
-
Blazor syntax is really like razor, just need to change the @{ } block to @code { } block.
-
```
[phpDocumentor\Transformer\Exception]
The source path does not exist: /src/phpDocumentor/Transformer/../../../data/../data/syntax_highlighter
```
Due to [Remove redundant syntax highlighter](//gi…
-
![image](https://github.com/blinkfox/hexo-theme-matery/assets/86114492/9df454dc-e48e-4c4d-bff9-622913e147fd)
配置如下:
```yaml
syntax_highlighter: prismjs
highlight:
auto_detect: false
line_numb…
-
It would be really cool if we could syntax highlight the error output.
Since we've monkey-patched `MsgC` to write everything in ANSI, it's doable.
I think the best place to start would be find…
-
The following snippet is not highlighted properly:
``` haskell
max3 :: Int -> Int -> Int -> Int
max3 x y z
| (x
-
### Description
There are some new changes in Svelte 5 that require changes to the syntax highlighter so that it works properly. Snippets for example currently render incorrectly.
![18:28:33](https:…
-
Lexer options, defined in config.rb don't seem to get passed to passed to the lexer:
~~~ ruby
activate :syntax, lexer_options: { prompt: '$,#,;' }
~~~
The above doesn't actually override the defau…