Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] add more type marked text support #534

Closed
Lruihao opened this issue Nov 3, 2024 · 0 comments · Fixed by #536
Closed

[FEATURE] add more type marked text support #534

Lruihao opened this issue Nov 3, 2024 · 0 comments · Fixed by #536
Assignees
Labels
enhancement New feature or request tested Processing completion test passed
Milestone

Comments

@Lruihao
Copy link
Member

Lruihao commented Nov 3, 2024

The extended marked text syntax supports 6 types of Marked Text.

Warning

This is experimental syntax highlighting for the marked texts.

==Primary==[primary]
==Secondary==[secondary]
==Success==[success]
==Info==[info]
==Warning==[warning]
==Danger==[danger]

The rendered output looks like this:

QQ_1730695554639

Unless you customize marked text, any unsupported type defaults to the default type.

==This is a custom type with pink color.==[pink]

The rendered output looks like this:

QQ_1730695580633

The HTML looks like this:

<mark class="mark-pink">This is a custom type with pink color.</mark>
@Lruihao Lruihao self-assigned this Nov 3, 2024
@Lruihao Lruihao added the enhancement New feature or request label Nov 3, 2024
@Lruihao Lruihao added this to the v0.3.x milestone Nov 3, 2024
@Lruihao Lruihao linked a pull request Nov 4, 2024 that will close this issue
@Lruihao Lruihao moved this from To do to Done in Roadmap of FixIt Nov 4, 2024
@Lruihao Lruihao added the tested Processing completion test passed label Nov 4, 2024
@Lruihao Lruihao closed this as completed Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tested Processing completion test passed
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant