Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix token.map #20

Merged
merged 3 commits into from Apr 4, 2024
Merged

Fix token.map #20

merged 3 commits into from Apr 4, 2024

Commits on Apr 2, 2024

  1. Fix map

    Map on the front-matter token doesn't seem right. For a doc like:
    
    ~~~md
    ---
    a: b
    ---
    
    xyz
    ~~~
    
    I get back `[0, 12]`. Instead it [should be `[startLine, endLine]`](https://markdown-it.github.io/markdown-it/#Token.prototype.map)
    mjbvz committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    17045e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    97284fa View commit details
    Browse the repository at this point in the history
  3. Add test

    mjbvz committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    bbceaed View commit details
    Browse the repository at this point in the history