How to highlight code?

Post Reply
User avatar
devprodest
Ssr. Bludit
Posts: 26
Joined: Tue Feb 27, 2018 10:52 am
Location: Moskow, Russia

Editor: Simple MDE
Theme: Log-master

I don't want to reinvent the wheel. :D
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

What do you mean with highlight code? Highlight a certain syntax?

There is plugin, but it should be updated:

https://github.com/Hydrock/highlight-bludit
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
devprodest
Ssr. Bludit
Posts: 26
Joined: Tue Feb 27, 2018 10:52 am
Location: Moskow, Russia

Edi wrote: Mon Mar 05, 2018 3:50 pm What do you mean with highlight code? Highlight a certain syntax?

There is plugin, but it should be updated:

https://github.com/Hydrock/highlight-bludit
Thank
C/C++, C#, xml, ini, html
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

There has not much to be updated. Meanwhile you can use the plugin, just renaming the english language file (at /bl-plugins/highlight-bludit-master/languages or /bl-plugins/highlight-bludit/languages) from

Code: Select all

en_US.json
to

Code: Select all

en_US.json
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

The plugin can now also be downloaded from the repository:

https://plugins.bludit.com
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

I use this library for Highlight code on the themes.

https://highlightjs.org

EDIT: The same as this plugin use, https://github.com/bludit-plugins/highlight-bludit
User avatar
devprodest
Ssr. Bludit
Posts: 26
Joined: Tue Feb 27, 2018 10:52 am
Location: Moskow, Russia

Thanks.
I installed the plugin.
Good.
Post Reply