Now that html5 makes defining your own custom blocks pretty usual, I have a problem where I can't specify whether my particular tag should be a block element or an inline element.

For example:

# Heading

We put words here

<canvas></canvas>

## More

Words should go here

Will correctly leave the canvas out as a block element, without wrapping it with paragraph tags. 

However, if I use a custom version of the canvas

# Heading

We put words here

<myowncanvas></myowncanvas>

## More

Words should go here

myowncanvas gets wrapped with a paragraph tag. I could avoid this by wrapping with a div, I'm aware of that,
but I need to be able to specify my own custom tags,

Is there a way to achieve this?



--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/bed5a293-ddf6-4ef6-9e8c-c55f5e4aced2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.