Closed ghost closed 3 years ago
I mean it doesn't align horizontally. Vertically, it's ok. It might be about renderer.
Horizontal align works good for me:
Vertical align does not seem to be part of GFM spec (correct me if I'm wrong): https://github.github.com/gfm/#tables-extension-
td { vertical-align: top; }
The issue has been solved by editing vertical-align as center.
Describe the bug
Normally, it should center text in the table when I write with colon but it doesn't work on my blog.
| Default Header | Left Align | Right Align | Center Align |
| -------------- | :--------- | ----------: | :----------: |
Expected behavior
Normally, it should center text in the table when I write with colon. It works correctly with GitLab & GitHub Markdown.
Environment
Hugo version: 0.87.0
Hugo extended?: Yes
OS: Windows, Linux, Android
Browser: Chromium, GeckoView
Version: Chromium 92, GeckoView 91.
Content of config.yaml