vantagedesign / ace-documentation

A free documentation theme for Hugo, powered by Bootstrap 4. Repsonsive, search, code highlighting and more.

Home Page:https://docs.vantage-design.com/ace/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tables formating

jarekgajewski opened this issue · comments

Tables facing problems with header formatting. Frames are missing.
All below header row is formatted right

@jarekgajewski can you give a code or image example of what's missing?

@julianflapper
here is it:

Code:

|    Term    | Meaning           |
| :--------: | ----------------- |
|    MUST    | The definition is an absolute requirement of the specification.   |

screen
image

I see.. strange.
I'll look into it, thanks for reporting this!

This will be fixed in v1.0.3 (already on dev branch), using a table shortcode:

{{< table >}}
|    Term    | Meaning           |
| :--------: | ----------------- |
|    MUST    | The definition is an absolute requirement of the specification.   |
{{< /table >}}

this wraps the table content in a 'table' class to provide the styling.