markx icon indicating copy to clipboard operation
markx copied to clipboard

Syntax highlighting in code blocks

Open jumanbar opened this issue 12 years ago • 5 comments

When using the web page it highlights the syntax of the first code block, but it doesn't in any of the subsequent ones. This happens in a Windows 7 machine (32 bit), using Mozilla Firefox 20.01.

The following is an example:

First code block (nice colors):

plot(3:5, main = "Some text in greenish color")

Second code block (no colors):

plot(2:4, main = "Everything is just black")

jumanbar avatar Apr 17 '13 22:04 jumanbar

I created a small Markdown-Editor for my CMS using ACE http://ace.ajax.org. This Tool is very smart with highlighting, has auto-indetation/auto-completition and so on. Probably the better choice... I could help if needed.

chris

taubmann avatar May 13 '13 14:05 taubmann

Sounds good! I'm currently very busy with some other projects but if you would like to create a pull request I would love too see ace in markx. Let me know if you see interested.

yoavram avatar May 16 '13 20:05 yoavram

Sorry I didn't mean to close the issue.

yoavram avatar May 16 '13 20:05 yoavram

i am afk for holidays till 1st. after that i will have a look

taubmann avatar May 18 '13 18:05 taubmann

ping @taubmann

yoavram avatar Jul 09 '13 11:07 yoavram