Highlighting language
Ciboulette opened this issue · 1 comments
Ciboulette commented
Hello folks,
I'm using flatdoc and I would like to have code highlighting when i write code part in php, like highlight.js do, is it possible ?
thanks
ShinjiIkari83 commented
Hello Ciboulette,
yes, thats possible. You can define your highlighting in the flatdoc.js (line:321).
Use this site for the regexpressions:
"https://regex101.com/"
Use in the MD-File this for your code:
"3 single quote" php
PHP-Code
"3 single quote"
I hope this infos helps.