4

I would like to display timeline information using markdown, how to do?

By the way, I want to make it in hexo.

enter image description here

chenzhongpu
  • 6,193
  • 8
  • 41
  • 79

3 Answers3

6

Markdown isn't intended to support this kind of thing:

Markdown’s syntax is intended for one purpose: to be used as a format for writing for the web.

Its syntax is very small, corresponding only to a very small subset of HTML tags.

You could create an image and include a link to it in your Markdown. Alternatively, if you have some method for generating these visuals in HTML you could use those tags directly.

Some implementations of Markdown add features that aren't present in the original version, for example tables. I'm not aware of any that display timelines.

Community
  • 1
  • 1
ChrisGPT was on strike
  • 127,765
  • 105
  • 273
  • 257
3

You can use the hexo-tag-mdline plugin, https://www.npmjs.com/package/hexo-tag-mdline.

Wei Wang
  • 31
  • 1
1

You can use markline which is a timeline extension to markdown.

Matt Sephton
  • 3,711
  • 4
  • 35
  • 46