Closed Oleksiy-Yakovenko closed 10 years ago
Blockquotes are block level elements. They can't be used inside span level elements like a table cell.
F
Are you absolutely sure about that? Even paragraphs and divs are valid inside table cells, why not blockquote? Google chrome displays them fine in table cells, and I believe it's perfectly valid at least with HTML5.
I cannot find any rules in the HTML5 spec which forbid embedding
inside of. On the unofficial side of things, there's the table showing which elements can be nested, and td clearly is allowed to nest content-flow elements, which blockquote is one of.
fletcher commented 10 years agoresolve
Blockquotes are block level elements. They can't be used inside span level elements like a table cell.
Fletcher
On 6/23/14, 12:26 PM, Alexey Yakovenko wrote:
Hello.
According to multimarkdown documentation:
|You can use normal Markdown markup within the table cells.|
but when i try this:
col1 col2 >hello blockquote i get this output (|>| is converted to |>|):
/Property:/ /Function:/
hello blockquote
(github does the same as multimarkdown)
is there any other way to indent content in table cells, or any chance this issue will get fixed?
— Reply to this email directly or view it on GitHub https://github.com/fletcher/MultiMarkdown/issues/48.
Fletcher T. Penney fletcher@fletcherpenney.net
Oleksiy-Yakovenko commented 10 years ago
col1 col2 Thanks for replying and the nice attitude.And have a nice day fletcher commented 10 years agoMarkdown blocks, not HTML blocks.
F
Sent from my iPhone
On Jun 23, 2014, at 3:21 PM, Alexey Yakovenko notifications@github.com wrote:
Are you absolutely sure about that? Even paragraphs and divs are valid inside table cells, why not blockquote? Google chrome displays them fine in table cells, and I believe it's perfectly valid at least with HTML5.
I cannot find any rules in the HTML5 spec which forbid embedding
inside of. On the unofficial side of things, there's the table showing which elements can be nested, and td clearly is allowed to nest content-flow elements, which blockquote is one of.
— Reply to this email directly or view it on GitHub.
fletcher commented 10 years agoLooks like one of my comments that was delayed and presumed lost was subsequently accepted, hence the repetition...
Anyways, since things seem to be out of order above, to clarify. I understand that HTML allows almost anything inside a table cell, but Markdown (and therefore MultiMarkdown) does not.
F-
Oleksiy-Yakovenko commented 10 years agoYeah, I understood that after your previous post. Thanks for clarification. Although it's strange that you can't change that, since original markdown has neither tables, nor formal standard.
fletcher commented 10 years agoMarkdown does specify a distinction between block level and span level elements. I'm sure if you think it through, you'll realize why allowing block level elements inside a table cell won't work within MultiMarkdown. If you want complicated tables, you'll need to hand code them.
Oleksiy-Yakovenko commented 10 years agoI'll just tell the users to use
tag directly -- it works in multimarkdown tables. Just hoped it might be easy to get ">" syntax working.fletcher commented 10 years agoNot if they use multiline block quotes it won't....
Oleksiy-Yakovenko commented 10 years agoSingle-line is good enough for our use case
Hello.
According to multimarkdown documentation:
You can use normal Markdown markup within the table cells.
but when i try this:
i get this output (
>
is converted to>
):(github does the same as multimarkdown)
is there any other way to indent content in table cells, or any chance this issue will get fixed?