Releases: neillrobson/markdown-it-tufte
Releases · neillrobson/markdown-it-tufte
v1.0.0 First official release
Aside from being the first major version of this library, this release just contains small fixes and enhancements discovered in the few weeks of using the previous development version (0.3.0
).
Fixed
- Lone/dangling carets in newthought markers are now consistently shifted outside the resulting span tag
- Standalone images inside other blocks are now captured and rendered as
<figure>
elements
Figure tags for images
Added
- Special parsing for standalone images (

) usingfigure
andfigcaption
- If the
markdown-it-attrs
plugin is installed, adding{.fullwidth}
at the end of an image will add that class to thefigure
.
- If the
v0.2.0 Slug ID generation
Added
- Slug IDs for sections (defined by second-level headings and new-thoughts)
v0.1.0 Initial Release
Added
- Side notes:
[^ref]
in the text with[^ref]: contents of note
somewhere else in the Markdown. - Inline side notes:
^[contents of note]
in the text. - Margin notes:
[^ref]: {-} contents of note
or^[{-} contents of note]
. Same as side note, but omits the reference number. - New-thought markers:
^^Happy families are all alike;^^ every unhappy family is unhappy in its own way.
Renders the text surrounded by^^
in small caps. - Automatic
<section>
breaks:- Entire text will be surrounded by at least one
<section>
- Each second-level heading will trigger a section split immediately above it
- Each paragraph starting with a new-thought will trigger a section split immediately above it
- Entire text will be surrounded by at least one