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

Unsupported key:: value syntax for inline fields #16

Open
ngirard opened this issue Jan 2, 2023 · 0 comments · May be fixed by #23
Open

Unsupported key:: value syntax for inline fields #16

ngirard opened this issue Jan 2, 2023 · 0 comments · May be fixed by #23

Comments

@ngirard
Copy link

ngirard commented Jan 2, 2023

Hey @selimrbd,

let me start by expressing my gratitude for your efforts into this nice project !

I just gave it a try with one of my notes, and unfortunately I cannot take advantage of it.
The reason is, I'm using the following syntax for all my inline fields:

`key`:: value

and sometimes

- `key`:: value

because it makes them visually stand-out from the rest of the note.
This syntax is recognized by many Obsidian extensions, including Dataview.

Could you please consider supporting this syntax ?

Cheers, and happy New Year !

ngirard added a commit to ngirard/py-obsidianmd that referenced this issue Mar 23, 2023
This puts the parser on par with the reference one which is [Dataview's inline-field.ts](https://github.com/blacksmithgu/obsidian-dataview/blob/81ba6a0dd31d6562de852144112922bb33e084d9/src/data-import/inline-field.ts#L159).

Support for emojis is left behind.

Fixes selimrbd#16.
@ngirard ngirard linked a pull request Mar 23, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant