Releases: bit-docs/bit-docs-generate-html
showdown support
Instead of using stmd.js
, you can configure bit-docs-html-generate to use showdown
You configure bit-docs to have a "showdown"
option as follows:
"bit-docs": {
...
"showdown": { "tasklists": true },
...
}
Options can be found here: https://github.com/showdownjs/showdown#options
0.11.1
v0.11.0
Upgraded to steal-tools 1.x
The main goal of this release was to implement the latest version of steal-tools
for the bundling process, mainly to enable the use of the latest steal plugins.
- Moved to
steal-tools@^1.8.0
- Updated location of
steal.production.js
. - Added package override option
- Cleaned up tests
Diff: v0.7.1...v0.8.0
0.7.1
Escape all script tags inside the docObject
Each generated HTML page has a script tag where the docObject
is made available for other bit-docs plugins to use:
<script>
var docObject = { /* most likely a big object */ };
</script>
If any of the string properties of the docObject
has an unscaped closing script tag (</script
) the HTML parser would close script tag outside the string prematurely causing parts of the docObject
to be rendered on the screen.
This patch release makes sure all closing script tags are escaped properly.
Diff: v0.7.0...v0.7.1
v0.7.0
Diff: v0.6.0-pre.1...v0.7.0
v0.6.0-pre.1
This release only bumped the version number.
v0.6.0-pre.0
Diff: v0.6.0...v0.6.0-pre.0
v0.6.0
v0.5.0
This release removes all searchMap generation related logic (it has moved to its own repo).
There were also some minor style changes: