Is Mermaid timeline graph supported? #5708
-
Hey! I've just tried using the Timeline graph and it fails to render in mkdocs-material - Is it perhaps a configuration or unsupported? This was introduced in Mermaid 9.4.0 so it doesn't seem to warrant an upgrade (mkdocs-material is using 9.4.3).
I couldn't find when this feature was introduced to confirm whether that is simply an upgrade Demo example timeline
title England's History Timeline
section Stone Age
7600 BC : Britain's oldest known house was built in Orkney, Scotland
6000 BC : Sea levels rise and Britain becomes an island.<br> The people who live here are hunter-gatherers.
section Bronze Age
2300 BC : People arrive from Europe and settle in Britain. <br>They bring farming and metalworking.
: New styles of pottery and ways of burying the dead appear.
2200 BC : The last major building works are completed at Stonehenge.<br> People now bury their dead in stone circles.
: The first metal objects are made in Britain.Some other nice things happen. it is a good time to be alive.
Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
IIRC, Timelines require using JS modules which MkDocs does not yet support (but may support soon). Assuming MkDocs gets the appropriate support, Material would have to update its approach to use modules. So, as I understand, Material does not currently support Timelines, but may in the future. |
Beta Was this translation helpful? Give feedback.
-
Gotcha - thank you so much 🙏
…On Thu, 13 Jul 2023 at 20:28, Martin Donath ***@***.***> wrote:
Jup, correct. We're waiting for module support, and then we can
re-evaluate if/how we can migrate to Mermaid.js 10. I think it'll be coming
in MkDocs 1.5.0, but I'm not sure when that's going to be released.
—
Reply to this email directly, view it on GitHub
<#5708 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZPQBBD4XHQNFLTLRTHAJLXQA44ZANCNFSM6AAAAAA2I4YONM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
IIRC, Timelines require using JS modules which MkDocs does not yet support (but may support soon). Assuming MkDocs gets the appropriate support, Material would have to update its approach to use modules.
So, as I understand, Material does not currently support Timelines, but may in the future.