correctly handle unknown syntaxes when highlighting
This commit is contained in:
parent
18b0b14e25
commit
13f2613aaa
6 changed files with 58 additions and 60 deletions
|
@ -139,4 +139,4 @@ delete_all = true
|
|||
[widgets.syntax]
|
||||
widget = "preprocess_element"
|
||||
selector = 'pre code'
|
||||
command = "pygmentize -l ${ATTR_CLASS##*-} -f html | head -c -13 | awk -F '<pre>' '{print $NF}'"
|
||||
command = "./syntax_wrapper.sh ${ATTR_CLASS##*-}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue