Adding custom language highlight and fonts to markor
Custom Language Highlight
Markor has inbuilt support for syntax highlighting of a select few languages. However markor comes bundled with prism js. This means adding syntax highlighting for any of 199 languages supported by prism is a matter of two steps
- Go to prism CDN and copy the link corresponding to your language.
- In the markor app, open
Settings>View mode
and add the the following snippet toInject -> head
after changing the link.
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.17.1/components/prism-toml.js"></script>
Custom Fonts.
- Copy font to one of these locations:
- Markor-Notebook/.app/fonts/
- /storage/emulated/0/Fonts/
- /sdcard/Fonts/
- In the markor app, open
Settings>Edit mode>Fonts
and select your font.