Skip to content

Support for org-mode code blocks #27

@choffee

Description

@choffee

Currently the code blocks are added with three backticks which works in logseq but is not valid for an org-mode file. Logseq supports both file formats. It would be good if this could support org mode as well.

#+BEGIN_SRC plantuml
... some code
#+END_SRC

I think you can get the "preferredFormat" from getUserConfig which should allow setting the template.

Looks like it might need the rendering code tweaking so it can find org-mode format as well.

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