Configure furigana support and exemplary use it in chapter one.#8
Open
dominikun wants to merge 7 commits intoKellenok:mainfrom
Open
Configure furigana support and exemplary use it in chapter one.#8dominikun wants to merge 7 commits intoKellenok:mainfrom
dominikun wants to merge 7 commits intoKellenok:mainfrom
Conversation
Owner
Contributor
Author
Contributor
Author
Owner
|
looks good. but again i'll have to batch change the formatting from markdown to html tags. the last time when i did this i had to manually search for tag errors in 50 files, otherwise vitepress wouldn't render them i'll try it later |
Contributor
Author
|
It's a manual process to add the furigana anyways. I wouldn't change tags unless really necessary. At the moment we only have two cases:
I could work on a branch, until all chapters are done. This way the website won't be in a work-in-progress state. |
Contributor
Author
|
So I converted chapters 1-3. It's not too bad using vim. If you like the changes I can further format the text as I read through the script. |
1a8e389 to
ab0768f
Compare
ab0768f to
ae7d7e1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.






I configured furigana-markdown-it such that it is usable in vitepress. The syntax would be
[kanji]{furigana}, e.g.[今何時ですか]{いま なん じ ですか}?. The plugin is also kind of smart and can match whole sentences, but then only applies the furigana to the kanji and skips the rest. Its documentation gives an overview on its possible usage.I applied it to chapter one as an example. If it is acceptable, I can work on other chapters as well.
I'm not sure about the readability, though.