Skip to content

Latest commit

 

History

History
168 lines (102 loc) · 2.83 KB

CHANGELOG.md

File metadata and controls

168 lines (102 loc) · 2.83 KB

twoslash-cli

1.3.24

Patch Changes

1.3.23

Patch Changes

1.3.22

Patch Changes

1.3.21

Patch Changes

1.3.20

Patch Changes

1.3.19

Patch Changes

1.3.18

Patch Changes

  • Updated dependencies [f4d749f]
  • Updated dependencies [b4570bb]
  • Updated dependencies [2bc773e]

1.3.17

Patch Changes

1.3.16

Patch Changes

1.3.15

Patch Changes

1.3.14

Patch Changes

1.3.13

Patch Changes

1.3.10

Patch Changes

1.3.3

Patch Changes

1.3.2

Patch Changes

1.3.1

Patch Changes

  • 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

  • 277374b: Eleventy: mainly just docs updates CLI: Adds a flag to output TSX components from a JS/Markdown file

  • Updated dependencies [61a6af5]

1.2.15

Patch Changes

1.2.14

Patch Changes

1.2.12

Patch Changes

1.2.11

Patch Changes