The adaptation is minimal.
I tried to write a more complete adaptation but a in-depth rewriting
could be more useful since the new classes MEntity and MDoc should really
simplify things.
Signed-off-by: Jean Privat <jean@pryen.org>
private fun full_markdown: String do
if n_moduledecl != null and n_moduledecl.n_doc != null then
- return n_moduledecl.n_doc.full_markdown.write_to_string
+ return n_moduledecl.n_doc.to_mdoc.full_markdown.write_to_string
end
return ""
end
end
private fun full_markdown: String do
- if n_doc != null then return n_doc.full_markdown.write_to_string
+ if n_doc != null then return n_doc.to_mdoc.full_markdown.write_to_string
return ""
end
end
private fun full_markdown: String do
- if n_doc != null then return n_doc.full_markdown.write_to_string
+ if n_doc != null then return n_doc.to_mdoc.full_markdown.write_to_string
return ""
end