Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Highlighting certain section of the code #39

Open
neerajdotname opened this Issue · 0 comments

1 participant

@neerajdotname

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'!!!
end

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

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

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
Something went wrong with that request. Please try again.