Skip to content

Releases

Usability fix for selecting post container

Choose a tag to compare

@acdlite acdlite released this 20 Jan 19:13

Before this version, the plugin would not work properly unless applied to the immediate parent element of the Markdown-generated content, causing unnecessary headaches for some people.

With this version, you can target any ancestor element of the post content, as long as there is only one container element per post.

Patch to fix issue with reference-less sidenotes

Choose a tag to compare

@acdlite acdlite released this 24 Nov 01:40

Fixes an issue with reference-less sidenotes: When reference-less sidenotes are shown, their reference in the text should be hidden. Before this fix, the references were being hidden on construction even when initiallyHidden was true. Now, references are only hidden from within the body of Sidenote.hide.

Correctly handle nested footnotes

Choose a tag to compare

@acdlite acdlite released this 20 Nov 19:53

Updated to correctly handle nested footnotes (footnotes that reference other footnotes).

v0.1.2

Choose a tag to compare

@acdlite acdlite released this 20 Nov 19:50
  • placement is now an alias for sidenotePlacement in both the options object and in the API. This acknowledges that 'sidenotePlacement' is verbose given the name of the plugin.
  • Fixes an issue where sidenotes weren't being added to the DOM until they were shown, which could have been a problem when initiallyHidden were true.

v0.1.1

Choose a tag to compare

@acdlite acdlite released this 20 Nov 19:46

Patch to reduce file size of minified script, by massing mangle option to UglifyJS