coderay Questions
3
Solved
I'm running Rails 4 and whenever I try running anything in the rails console, I get the following error:
2.0.0 (main):0 > User.first
CodeRay::Scanners::Scanner::ScanError:
***ERROR in scanner....
Injurious asked 20/11, 2013 at 19:8
1
I'm using Redcarpet as markdown tool and coderay for syntax highlighting in my rails app. What I want is a preview of what is being written in markdown format before posting it in database. A far b...
Hebetate asked 7/2, 2014 at 14:36
1
Solved
I'm using CodeRay and Haml to do syntax highlighting on some pages, and I write a lot of Ruby code. The problem is when I have something like this:
%pre
%code.language-ruby
:preserve
def hello(...
1
© 2022 - 2024 — McMap. All rights reserved.