marktext / marktext/marktext

Feature Request: Insert images using base64 from graphical interface

Open
#2,191 3 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

:beetle: pri/low :unicorn: feature request
Dominant language
TypeScript
Stars
61.6k
Forks
4.6k
Avg merge
23h 49m
Merged PRs (30d)
89

Description

Describe your feature request

I would like the ability to insert images using base64 from graphical interface. Currently I have to switch to and from Source Code Mode in order to do this, which isn't very convenient.

What problem does this feature solve? [optional]

Just to make it more convenient to turn a Markdown file into a self-contained document.

Additional context [optional]

Mark Text already had support for displaying base64 URI for consumers of a document, it's only appropriate that its graphical interface will accomodate the same use case for creators of a document as well.

Contributor guide

Open the contributing guide

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

Start by tracing the graphical interface's image insertion flow and compare it with the existing base64 URI display support. Inspect how Source Code Mode currently handles base64 images, then define the GUI behavior and verify that inserted images produce a self-contained Markdown document without requiring a mode switch.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.