Closed narutaro closed 1 year ago
You are using an invalid syntax, code blocks are started with three tildes ~~~
, you are starting a code span with three backticks. Use the correct syntax and the output should be fine.
The table output is just the minimum needed to recreate the table. There is nothing implemented to create nice aesthetics. If you need nicely formatted table output, you need to create a custom converter that produces your desired output.
@gettalong - thank you for your clarification. I will try that way. :)
Hi,
I am looking for a way to revert back to original markdown from
Kramdown::Document
.My code is:
END
table = <<END
Table
END
In my real application, I want to do something on the kramdown object and revert back to a markdown
c = Kramdown::Document.new(code) puts c.to_kramdown puts "---" t = Kramdown::Document.new(table) puts t.to_kramdown
Code block
rb num = 0 while num < 2 do print("num = ", num) end print("End")
Table