Jekyll:表内无序列表
I am trying to build a table for a jekyll site that, in one column, holds an image and in the next column holds an unordered list of links associated with that image.
The markdown syntax for unordered lists (*,-,+) is not working, nor is the html when mixed in with markdown table.
Does anyone know how to make this work for jekyll? (note: images and links are working correctly)
See code below:
<style>
table { border: 1px solid black; width: 100%; }
td, th {border: 1px solid black;width: 50%;}
</style>
| Image | Image Links |
|-------------------------|--------------------------------------------------------|
| <img src="image1.png"/> | *[Image1 link1][1]<br> *[Image1 Link2][2] |
| <img src="image2.png"/> | <ul><li>Image2 Link1</li><li>Image2 Link2</li></ul> |
I am trying to build a table for a jekyll site that, in one column, holds an image and in the next column holds an unordered list of links associated with that image.
The markdown syntax for unordered lists (*,-,+) is not working, nor is the html when mixed in with markdown table.
Does anyone know how to make this work for jekyll? (note: images and links are working correctly)
See code below:
<style>
table { border: 1px solid black; width: 100%; }
td, th {border: 1px solid black;width: 50%;}
</style>
| Image | Image Links |
|-------------------------|--------------------------------------------------------|
| <img src="image1.png"/> | *[Image1 link1][1]<br> *[Image1 Link2][2] |
| <img src="image2.png"/> | <ul><li>Image2 Link1</li><li>Image2 Link2</li></ul> |
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一般来说,Markdown 中的表格实现往往相当简单。我不知道有任何支持表内 Markdown 风格的列表。
因此,我相信您的表格必须使用 HTML:
In general, table implementations in Markdown tend to be fairly simplistic. I'm not aware of any that support Markdown-style lists inside tables.
As a result, I believe you'll have to use HTML for your table: