HananoshikaYomaru / obsidian-run

Generate markdown from dataview query and javascript.
https://yomaru.dev
MIT License
34 stars 2 forks source link

remove id from the syntax #3

Closed HananoshikaYomaru closed 1 year ago

HananoshikaYomaru commented 1 year ago

the id is confusing. let's remove this.

StefanoRausch commented 1 year ago

I agree. The id is not of any use for the user.

Or do you have any future plans how to leverage the id?

HananoshikaYomaru commented 1 year ago

the id only serve 1 purpose, make it easier to target Run block. For example, if there are two identical run blocks, the program might have replace the content in the first run block 2 times. id make it unique so the program won't target wrong.

In other words, the id is just a run block targeting strategy. For v1, it is good enough. But I figure out some possible way to remove it so that UX will be even better.

HananoshikaYomaru commented 1 year ago

in v1.0.2, id is no longer needed.

the starting tag syntax is as easy as %% run start <expression> %%

StefanoRausch commented 1 year ago

Fantastic! This plugin is getting better and better by the day. 👏