Skip to content

Add extended text highlight syntax for Markdown - #2933

Open
guanglinn wants to merge 11 commits into
gsantner:masterfrom
guanglinn:extend_highlight
Open

guanglinn wants to merge 11 commits into
gsantner:masterfrom
guanglinn:extend_highlight

Conversation

@guanglinn

@guanglinn guanglinn commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Support extended syntax ==text== to mark/highlight the text background in Markdown.

Closes #2638

Before

20261026_extended-highlight-unsupported

Now

20261026_extended-highlight-supported

# Conflicts:
#	app/src/main/java/net/gsantner/markor/format/markdown/MarkdownTextConverter.java
@gsantner

Copy link
Copy Markdown
Owner

I see this as something that can be builtin, ===text=== is not something uncommon.

So not needs option, unless it gets more extensive than just ===text=== support

@guanglinn

guanglinn commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor Author

==text== is an extended syntax for Markdown. Although some editors support it, such as Obsidian, Typora (also has an == option), but it is not a standard syntax of CommonMark, such as GitHub do not support this syntax.

So I think it's better to keep this option. If you still feel that this option is not needed, I will remove it.

@gsantner

gsantner commented Oct 26, 2026 •

Copy link
Copy Markdown
Owner

its fine without..there are sure many things that I consider more important to be toggleable

generally I would pursue less options but good defaults allowing broad use

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

== Highlighter on markdown

2 participants