How to highlight code?

Post Reply
User avatar
devprodest
Ssr. Bludit
Posts: 18
Joined: Tue Feb 27, 2018 10:52 am

Mon Mar 05, 2018 2:11 pm

Editor: Simple MDE
Theme: Log-master

I don't want to reinvent the wheel. :D
User avatar
Edi
Site Admin
Posts: 1193
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

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
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
User avatar
devprodest
Ssr. Bludit
Posts: 18
Joined: Tue Feb 27, 2018 10:52 am

Mon Mar 05, 2018 7:51 pm

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: 1193
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Mon Mar 05, 2018 10:00 pm

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
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
User avatar
Edi
Site Admin
Posts: 1193
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Tue Mar 06, 2018 11:23 am

The plugin can now also be downloaded from the repository:

https://plugins.bludit.com
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
User avatar
diego
Site Admin
Posts: 674
Joined: Sat May 16, 2015 2:53 pm
Contact:

Tue Mar 06, 2018 11:35 am

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: 18
Joined: Tue Feb 27, 2018 10:52 am

Wed Mar 07, 2018 4:51 pm

Thanks.
I installed the plugin.
Good.
Post Reply