danielmagnussons / orgmode

orgmode is for keeping notes, maintaining TODO lists, planning projects, and authoring documents with a fast and effective plain-text system.
MIT License
753 stars 70 forks source link

code blocks syntax highlighting #57

Open IvanAtanasov89 opened 9 years ago

IvanAtanasov89 commented 9 years ago

Just want some clarification on how to use code blocks. Is it supposed to be possible to have a code block which then gets syntax highlighting? This does not seem to work

e.g. Would it be expected that the if statement in this code block benefits from syntax highlighting?

[code]
if (true){
  x = 11;
}
[/code]