obsidian-importer icon indicating copy to clipboard operation
obsidian-importer copied to clipboard

Add Yarle template feature

Open boardtc opened this issue 2 years ago • 1 comments

Has it been considered to expose the template feature of the Yarle importer? I am importing Evernote .enex files and I like that feature.

Using Yarle the default template has a few options (only the first 2 get filled for me)

{created-at-block}Created at: {created-at}.{end-created-at-block} {source-url-block}Source URL: .{end-source-url-block}

which results in

Created at: 2020-11-19._ Last updated at: 2020-11-19._

These are nice options I think after an import. Can this template feature be added to the importer interface?

image

boardtc avatar Sep 01 '23 10:09 boardtc

This would also be a path towards a workaround for #48. IMO, exposing the YARLE template directly is more of a "power user" approach since it requires the user to work out the schema by which to import various metadata, and what metadata they even want to import. I do think most users would prefer to use robust opinionated defaults, esp. for items like source URL from #48.

(Aside: the default YARLE template annoys the heck out of me, since it's not valid frontmatter yet uses frontmatter --- markers.)

jwhitley avatar Sep 11 '23 15:09 jwhitley