berkeley-cdss / course-site-myst

A MyST-based course website template
0 stars 1 forks source link

📅 Create a schedule plugin from data #3

Closed rowanc1 closed 10 months ago

rowanc1 commented 10 months ago

Hi! 👋 (I meant to open in Draft mode, and can't seem to change it, this is meant as an illustration, not necessarily to merge!)

I have been having a few conversations with @ryanlovett in Discord and am following up with my evening exploration into how to improve MyST for courses!

A walk through of this PR in video form: https://www.loom.com/share/348fd343d0404e419a5c3e4c5f89a31c?sid=0c692e7b-e78e-4481-a5f6-c3d8f76f2fef

image

This color-tags require some local changes that should be making it out soon! I hope this illustrates how you can use the plugins, and I would be curious on your feedback. Have a few major takeaways from this on how to evolve MyST and the plugins to make this much easier.

Hope this helps -- super cool to see JupyterLite working well. :) 🚀

ryanlovett commented 10 months ago

@rowanc1 This is great, thank you! I adopted your suggestion of making the YAML filename configurable. Everything works, except I'm not seeing the style and classes in the DOM. I'm looking into that, but even without it this is a great feature.

rowanc1 commented 10 months ago

Fantastic, glad that it was helpful!

I am hoping that the styles PR should be ready/released on the theme this week. I will track this here: https://github.com/executablebooks/mystmd/issues/749

ryanlovett commented 10 months ago

@rowanc1 added styling support via https://github.com/executablebooks/myst-theme/commit/bdfc143226463f169fc6318e6aada2ecb73ce0f9 and the "pill" button appearance is working now!

rowanc1 commented 10 months ago

Awesome. Glad it works on your end too!!