Skip to content

Commit

Permalink
Editorial: Update note markup/markdown and styling
Browse files Browse the repository at this point in the history
Using the `note: ...` markdown, Bikeshed produces nicely styled notes
with a "NOTE:" prefix automagically generated. This source was not
using that, so not getting the nice prefix. Fix that!

* `<aside>` was used for notes, examples, and advisements, but it's
  not a block element. Just use `<div>`.

* For notes, use `NOTE:` markdown where possible (single paragraphs)

* Otherwise, add "NOTE:" manually as a span, class=marker

* For a handful of cases where a note follows an algorithm and
  references variables within the algorithm, scooch the note inside
  the algorithm's containing div so that it is autolinked.

* Remove a stray unbalanced `</div>`

See speced/bikeshed#2562 for context.
  • Loading branch information
inexorabletash committed Aug 3, 2023
1 parent 43dfcf1 commit 3319a85
Showing 1 changed file with 175 additions and 253 deletions.
Loading

0 comments on commit 3319a85

Please sign in to comment.