Closed gquintana closed 7 years ago
The # <2>
in the Ruby source triggers the problem. Removing it solves the problem.
Thanks for reporting.
It's a problem with the Atom Ruby grammar package.
You can reproduce the bug with Markdown in Atom:
# Ruby source Test
\`\`\`ruby
class Person
def name # foo
@name
end
def name=(new_name) # foo
@name=new_name
end
end
\`\`\`
Here the syntax colouring is broken.
The single quote: let's triggers something
I use \
only to escape char in Github.
It's not a bug with Atom Langauge Asciidoc package but with Atom Ruby grammar package.
Description
In Ruby source block, something breaks syntax colouring.
Screenshots
Syntax example