Replies: 1 comment
-
@Pe-te What if you skip over the paragraph nodes in your renderer? func (r *Renderer) renderParagraph(w util.BufWriter, source []byte, n ast.Node, entering bool) (ast.WalkStatus, error) {
return ast.WalkContinue, nil
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, is there an option to prevent the renderer generating the
tags everywhere?Example string:
Using this code:
Would have expected something like:
But I found this output:
And if I try it with double backslash N:
I get this one without the line break:
Is this something we can influence by parameters? We just need a mode that does not generate any
tags and that translates all backslash-n into
tags. Even if it translates all double-backslash-n that would be great, too.
Beta Was this translation helpful? Give feedback.
All reactions