arnau / obsidian-metatable

An Obsidian plugin to display the frontmatter section as a fully expanded table.
MIT License
150 stars 13 forks source link

Bug: The plugin doesn't work whitout quotation marks on numbers. #6

Closed EhuddR closed 3 years ago

EhuddR commented 3 years ago

Hi! I woul like to report that the plugin isn't working. This is the console error:

image

So, I play around whit it and found that the plugin doesn't show numeric values whithin the frontmatter i.e:

aliases: [ ]
tags: literature
author: Chomsky
year: 2020
URL: https://www.something.com
page: 123
---

The plugin works whit the frontmatter like so though:

aliases: [ ]
tags: literature
author: Chomsky
year: "2020"
URL: https://www.something.com
page: "123"
---

The numeric values are rendered correctly when you put them around "" or ''.

In this sense, I like to ask if you can make readable those values whitout the quatation marks?

And thanks in advance.

arnau commented 3 years ago

Thanks for reporting. Sorry for the regression. It should work in 0.7.1