- Updated dependencies [e133a03]
- Updated dependencies [e6b739c]
- Updated dependencies [bfca2ac]
- Updated dependencies [aa047ea]
- Updated dependencies [53d3730]
- Updated dependencies [a77a7c6]
- Updated dependencies [b041c61]
- 17c0d12: feat(docusaurus-preset): support shorthands, support mix of preset and plugin
- Updated dependencies [f4d749f]
- Updated dependencies [b4570bb]
- Updated dependencies [2bc773e]
- Updated dependencies [86d6214]
- Updated dependencies [e5ecfea]
- Updated dependencies [bc5330b]
- Updated dependencies [56b4e11]
- Updated dependencies [8fffcd9]
- Updated dependencies [bbba24f]
-
61a6af5: Adds support for an annotation system. This is still work in progress, but the goal is to allow you to provide a way to write meta-commentary on a code-sample from the outside of the code block by having an arrow and some comments.
For example
```js twoslash function compact(arr) { // @annotate: left 56 - No editor warnings in JavaScript files<br/><br/>This crashes at runtime. if (orr.length > 10) return arr return arr } ```
Would create a codeblocck with:
function compact(arr) { if (orr.length > 10) return arr; return arr; }
And a little SVG arrow and the text "No editor warnings in JavaScript files
This crashes at runtime." next to it. I'll be tweaking the syntax over time, but for now the syntax is// @annotate: [left/right] [arrow degree rotatation] [text degree rotatation] - Text to show
-
Updated dependencies [61a6af5]
- a2bb854: Fix copy button not working on production.
- Updated dependencies [8a0fcc0]
- Updated dependencies [f92d030]