gsantner / gsantner/markor

Support for rich text pasting

Open
#2,728 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
6.1k
Forks
537
Avg merge
1d 18h
Merged PRs (30d)
4

Description

⚠️ 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
-

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named in the issue. Start by locating Markor's clipboard paste handling and the Markdown editor integration, then assess how optional rich-text conversion would fit the existing paste behavior. Done should include opt-in conversion for basic rich-text structures while preserving plain-text paste by default.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.