Skip to content

typemill-resources/highlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Highlight your code examples with highlight.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •