Skip to content

Org Roam Babel generate Attachment #34

@Y0ngg4n

Description

@Y0ngg4n

Hi it would be nice to automatically create a attachment when using org roam with babel.

In the documentation is also mentioned that if you add the tag :dir "'attach" the file should be automatically saved in the attachments directory, but somehow it does not work.

Here is the link of the documentation: https://orgmode.org/manual/Environment-of-a-Code-Block.html#Choosing-a-working-directory-1

I tried it with those tags: #+BEGIN_SRC mermaid :file file.png :dir 'attach :exports file :tangle

But it does not work. As far as i understand it it should create a file.png in the attachments directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions