How to center Markdown tables #3847
Replies: 1 comment
-
I think there are two different issues here, neither specific to Minimal Mistakes. But they shouldn't be hard to fix! First: Why isn't this markdown code being turned into an html table?It looks like this table is being output exactly as it is written in the source text—which is the expected behavior whenever someone puts markdown inside of a span of HTML. If you're using kramdown (the default for GitHub Pages) to render markdown, you can add Second: Why isn't this content being centered?Align is deprecated, so your browser might just be ignoring it. With modern browsers, try using Okay, so how do these combine?Putting these together for this particular case, you'll probably want the opening tag to read I hope that helps! |
Beta Was this translation helpful? Give feedback.
-
I have a markdown table which works perfectly fine. As soon as i wrap it with
<div align="center"></div>
or with<center></center>
. The generated html is bullshit. I'm using asingle
Page Layout and use a table of contents for that blog post.With the
<div>
or<center>
tags i get this:Beta Was this translation helpful? Give feedback.
All reactions