themefisher / airspace-hugo

Airspace Hugo theme for multipurpose use, like Portfolio, Blog, Business.

Home Page:https://gethugothemes.com/products/airspace/?utm_source=airspace_github&utm_medium=referral&utm_campaign=github_theme_about

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I add tables in YAML file?

shen-tianji-gn opened this issue · comments

Dear developers

I wanna to add the table in the mission_vision of about pages.
I have tried the markdown codes like below

|![pic1](..pic1_address)|![pic2](..pic2_address)|
|---|---|
|pic1|pic2|

However, the result couldn't correctly displayed.
What should I do?

I think your issue has been solved in private messages.

I think your issue has been solved in private messages.

Sorry for the delayed response.
Could you tell me where I can check my private messages, please?

it should support markdown, because we used markdownify here. If it doesn't work, then you can use html structure for table. here is an example table:

 <table>
    <thead>
      <tr>
        <th>a</th>
        <th>b</th>
        <th>c</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>i</td>
        <td>j</td>
        <td>k</td>
      </tr>
      <tr>
        <td>x</td>
        <td>y</td>
        <td>z</td>
      </tr>
    </tbody>
  </table>

Thank you!