I have such an accipiator markdown, as told here
: source- Highlighter: coderay: coder-css: class: stylesheet: coderay_railscasts.css.scss [source, ruby] .app.rb ---- 'sinatra' get '/ hi' do 'hello world!' End----
But my output in the browser is not highlighted at all. Squares have not been implemented either.
My web developer tool output looks like this: As you can see, according to the document, there is no class applied to the text
It seems that it has failed to implement the classes, which have failed to communicate with the code, or failed to find the right settings, etc.
I explained this Acidacator FAQ to how much you have to do some settings, but I apply it to the HTML document generated from Acidactor Markdown, what I am not doing - Which is saving the markdown text in the database, and is read while retrieving that text. The question of that question seems to be a file structure and structure which is not a rail. So this does not apply to my case.
I have a loss because I have the right syntax and settings, but it is uncertain why this is unsuccessful, is currently missing or wrong to debug or check without any kind.
This problem seems to me that the exact behavior is happening.
The call should be either
== Asciidoctor.convert ( @ Article.content, secure: 'safe')
or
== Asciidoctor.render (@ article.content, secure: 'secure')
Then you will see the styles marked on your code block content.
My_css_class "]
The specific value of the HTML Role Attribute does not really matter.
Your blog is in a convincing manner, thanks for sharing such an information with lots of your effort and time
ReplyDeleteruby on rails training
ruby on rails training India
ruby on rails training Hyderabad