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

add ruby annotation support #1831

Merged
merged 1 commit into from Jul 6, 2023

Conversation

MichaelCharles
Copy link
Contributor

@MichaelCharles MichaelCharles commented Jul 6, 2023

DenDen Markdown is a popular implementation of ruby annotations in markdown, and a markdown-it extension already exists for it. By installing markdown-it-ruby the following markdown,

{電子出版|でんししゅっぱん}を手軽に

will be converted into this HTML,

<p><ruby>電子出版<rt>でんししゅっぱん</rt></ruby>を手軽に</p>

Screenshots

Before

Screenshot 2023-07-06 at 10 04 41

After

Screenshot 2023-07-06 at 10 05 10


solves #1830

@dessalines dessalines merged commit 1de0fdb into LemmyNet:main Jul 6, 2023
1 check passed
@MichaelCharles MichaelCharles deleted the feat/markdown-it-ruby branch July 7, 2023 00:55
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.

None yet

3 participants