Skip to content

feat: Obsidian paste can handle html to markdown conversion #558

@neo451

Description

@neo451

There's two mean jobs of obsidian app's paste, one is attachment pasting (#77), the other is to turn html into valid markdown.

we can generalize the concept into just paste, 1) check the clipboard 2) determine type 3) handle attachment or html

  • first ship one version that just use pandoc if available (?)
  • handle all major clipboard tools
  • require"obsidian".paste
  • give the paste a default mapping <leader>p or gp or <C-S-v>?
  • deprecate Obsidan paste_img

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions