-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add lesson status and fix title element alignment #39
Conversation
The reason for this is that I saw MDN uses abbreviation icons to indicate deprecation status of certain elements in HTML.
This is after feedback from @tobyhodges
Thank you for reviewing, @tobyhodges! |
The inclusion of the Lab version above reminds me that we will need something like these status indicators to make lessons stand out that have passed peer review (see the banner on https://carpentries-lab.github.io/python-aos-lesson/ for an example of what I mean) but that can definitely be an issue for another day. it will need to link to the relevant Zenodo entry or journal publication. |
Testing
To test this locally, use the {remotes} package:
To test this on a lesson on github, you can add the following to your lesson's
config.yaml
file:Description
This fixes the lesson title to appear as an inline block instead of inline so that it respects the bounds of its box (see https://www.digitalocean.com/community/tutorials/css-display-inline-vs-inline-block)
This also adds lesson status indicators that will
Pre-Alpha:
Alpha:
Beta:
This will fix #20