Skip to content

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 16:37
· 160 commits to main since this release

Removed

  • Breaking: the morg normalize subcommand. One format on both
    sides is enough: with one preset it normalizes (--from org and
    --to org, or --input notes.org --output notes.org), with two it
    translates.

Added

  • translateOrg(org, { inputPreset, outputPreset }): Logseq org ↔
    Vanilla org within org, changing only the headlines the two write
    differently (an empty block's space, a first line that starts an
    element) and keeping every other line as written (ADR 0006 §4
    amended). Logseq's task markers (NOW, DOING, WAITING, …) are
    declared for Emacs in a #+TODO: line, dropped again on the way
    back; an own #+TODO: line, which Logseq ignores, warns of the
    markers Logseq shows as text. A collapsed block is folded for Emacs
    (:collapsed: true ↔ :VISIBILITY: folded). Emacs syntax Logseq
    misreads ([[*heading]] links, <<<radio>>> targets, keyword lines
    below the first headline, …) stays, with a warning.
  • translateMarkdown(md, { inputPreset, outputPreset }): Logseq
    Markdown ↔ Vanilla Markdown within Markdown, blocks ↔ list items and
    headings with their meta as before, page properties ↔ flat
    frontmatter, a block's org blocks ↔ fences, quotes and query code
    blocks; other content stays as written. Obsidian Markdown ↔ Logseq
    Markdown too, an aliased wikilink ↔ a labeled page ref, and
    Obsidian Markdown → Vanilla Markdown: a %%comment%% becomes an
    HTML comment and an inline footnote a footnote (also on the way to
    Logseq Markdown); wikilinks stay, as resolving a note's file needs
    the vault. markdownStyle (CLI --bullet, --emphasis, …) rewrites
    only the markers it names; Logseq Markdown keeps its - bullets.
  • Web UI: two dialects of one format translate (Input: Markdown
    (Logseq), Output: Markdown); a translated file is saved under its
    dialect (page.vanilla.md). Changing the input's format still moves
    the output to the other format.
  • CLI: one format on both sides with two presets translates
    (morg --input-preset logseq --input page.md --output out.md); it
    was an error.
  • Vanilla org → Logseq Markdown warns of [[*heading]] links, which
    Logseq reads as refs to pages of that name.

Changed

  • Breaking: Node.js 24 or later (engines.node was >=20, which
    nothing tested; Node 20 is end-of-life).