Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 680 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 680 Bytes

highlight

Highlight your code examples with highlight.js for Typemill

Adding feature

  • Selecting highlight.js theme (https://github.com/highlightjs/highlight.js/tree/main/src/styles)
  • line number using highlightjs-line-numbers.js (https://wcoder.github.io/highlightjs-line-numbers.js/)

Pretreatment

  • If you face problems with older theme-versions, then remove the following code from /theme/cyanine/css/style.css
/* Fix background for hightlight plugin */
code.hljs{ background: transparent; }

snapshot image

Changing theme

snapshot

Changing theme and enabled line number

snapshot-line-number