themefisher / airspace-hugo

Airspace Hugo theme for multipurpose use, like Portfolio, Blog, Business.
https://gethugothemes.com/products/airspace/?utm_source=airspace_github&utm_medium=referral&utm_campaign=github_theme_about
MIT License
354 stars 509 forks source link

How can I add tables in YAML file? #92

Closed shen-tianji-gn closed 4 years ago

shen-tianji-gn commented 4 years ago

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?

tfsomrat commented 4 years ago

I think your issue has been solved in private messages.

shen-tianji-gn commented 4 years ago

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?

tfsomrat commented 4 years ago

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>
shen-tianji-gn commented 4 years ago

Thank you!