akosbalasko / akosbalasko/yarle

how to create an _attachments subdirectory inside of the notes directory

Abierto
#419 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
1.8k
Forks
111
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I'm importing my notes with yarle via npx into Obsidian. Obsidian wants the _attachments directory inside of the notes folder.

In my config file I have the following, but it doesn't seem to work. No attachments get placed in the _attachments folder:
"outputDir": "./",
"resourcesDir": "notes/_attachments",

I've tried other variations as well:
"outputDir": ".",
"resourcesDir": "notes/_attachments",

Basically if my working directory is:
/Users/glenn/testing/evernote-to-md

I want the generated md notes to be placed in:
/Users/glenn/testing/evernote-to-md/notes/

I want the attachments placed in:
/Users/glenn/testing/evernote-to-md/notes/_attachments/

If I use absolute paths it works fine, but then all my notes have the full path referenced in them. I would rather them reference the relative path to the attachments.

Any idea on how I can achieve this? How can I get the _attachments directory to be placed in a subdirectory of the notes folder?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.