highlighting
This commit is contained in:
parent
4c775286ef
commit
7e898e720b
7 changed files with 44 additions and 12 deletions
|
@ -136,8 +136,7 @@ selector = "blink"
|
|||
# but you can set this option to false to delete just the first one
|
||||
delete_all = true
|
||||
|
||||
# [widgets.syntax]
|
||||
# widget = "preprocess_element"
|
||||
# selector = 'pre code'
|
||||
# # command = "echo \"<code>$(awk -F \\- '{print $NF}' <<< $ATTR_CLASS)</code>\""
|
||||
# command = 'highlight -O html -f --inline-css --syntax=ocaml --style=zellner'
|
||||
[widgets.syntax]
|
||||
widget = "preprocess_element"
|
||||
selector = 'pre code'
|
||||
command = "pygmentize -l \"$(awk -F \\- '{print $NF}' <<< $ATTR_CLASS)\" -f html | head -c -13 | awk -F '<pre>' '{print $NF}'"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue