Skip to content

Support for rich text pasting #2728

@Litegeria

Description

@Litegeria

⚠️ This issue respects the following points: ⚠️

  • This is a enhancement/feature request. Not a bug or question.
  • The topic is not already reported at Issues. (I've searched it).
  • Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
  • The wanted feature/enhancement is not present in the latest development version (git master). (Please download and try the test version of Markor, named Marder. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor's settings are not touched. If your desired feature is present, you don't need to open this issue. The change will be part of the next Markor update.)

Description

I would like to request an optional enhancement to paste handling, specifically for content copied as rich text (HTML/RTF).

Current behavior:

When pasting content copied from a rich text source (browser, document editor, etc.), Markor strips all formatting and inserts plain text only.

This may be intentional, I dont know.

Proposed behavior (optional):

Add an optional paste mode that converts rich text from the clipboard into Markdown syntax, just like what Obsidian can do, preserving basic structure where possible:

  • bold / italic
  • headings
  • links
  • lists
  • tables
  • etc.

Keeps the current plain-text paste as the default, with formatting conversion being opt-in (e.g. setting or paste dialog).

Alternatives considered:

I currently use Obsidian to convert rich text and likewise to Markdown.

Information

Android version: 13
Device: Vivo
App Version: Currently I use 2.14 because newer versions were being slow (btw is that fixed now?)

Source

F-Droid

Format / File type

Markdown only currently. If possible and useful then maybe to other formats too in future.

Additional info / Log

-

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