patleeman / VSNotes

Simple VS Code extension for plain text note taking.
https://marketplace.visualstudio.com/items?itemName=patricklee.vsnotes
MIT License
174 stars 34 forks source link

ignore broken front matter #62

Closed suer closed 4 years ago

suer commented 4 years ago

This pull request will fix #48.

This will ignore following front matters:

  1. parsed to String.

    ---
    tags
    ---
  2. YAMLException occurs

    ---
    tags:
    foo
    ---
  3. Example in #60 will be also ignored because YAMLException occur. (last '-' is missing)

    ---
    tags:
    - bookmarks
    - links
    --
patleeman commented 4 years ago

Thank you for your work on this. Ieft one comment. I'll try to integrate this fix soon.

suer commented 4 years ago

Thanks for your review and comments 👍