Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Highlighting certain section of the code #39

neerajdotname opened this Issue Aug 18, 2010 · 0 comments


None yet
1 participant

I looked at the doc and could not find a way to highlight certain section of the code to emphasize.

I was thinking that user should be allowed to write something like

def lab
   puts !!!'showoff rocks'!!!

during the transformation process on the server side that should get converted into

def lab
   puts <span class='hl'>'showoff rocks'</span>

css should highlight section surrounded by hl class which stands for 'highlight'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment