laverna
laverna copied to clipboard
Note search and syntax highlighting
Dear Laverna developers,
I was wondering if I could add more languages for syntax highlighting. I noticed there are: python, ruby, javascript and c, but I was not able to insert, for instance, C# code. Is there a way to add syntax highlighting for other languages?
Another question: how can I search a word in a note? Is there a "Find" feature? Are you looking forward to implementing it?
Thanks a lot.
Best regards.
C# code highlighting works for me, using
<code>
I agree that a find within function within notes would be very helpful. In the browser, ctrl+f works, but on the desktop client it doesn't.
On the desktop client you need to enable Electron Search module in the settings page and Ctrl-f function should be available.
Thanks a lot! I did not know it. And I have also discovered that I could enable also MathJax.
Now Laverna is my favourite app for taking programming notes.
Jymmy097
Awesome! Thanks!
Is there somewhere complete list of supported highlights I can force use (after ```)? At least I know about java, c, j,...?
You can modify https://github.com/Laverna/laverna/blob/master/gulps/prism.js if you look at the file you'll also find c# supported as csharp
Hi @ehsan-keshavarzian @LuxGiammi @bkht @theerror @sander2,
Unfortunately this issue will never be fixed here.
Please report to https://github.com/Laverna/laverna/issues/971#issuecomment-411423965 for the current state of this project and https://github.com/encryptic-team/encryptic for the future of this project.
Have a nice day/night.
Cheers, Nissar