[kramdown-users] Using kramdown while reading from a file
sandeep.laxman at gmail.com
Wed Jan 16 08:58:12 UTC 2013
I have a static file in which data is stored in kramdown syntax. I am
trying to convert it to HTML using the following code
In the controller:
In the view:
<%= raw @demo %>
However, in the output, all I get is the raw kramdown syntax data in the
demo_data file with <pre> tags attached. No conversion to HTML is taking
place. What can I do to fix this?
Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kramdown-users