-
Notifications
You must be signed in to change notification settings - Fork 0
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
Markdown renderer with support for translations #56
Comments
@mrfatguy ticket is done, I found nice MIT license plugin with full support of markdown. https://www.npmjs.com/package/react-markdown You can provide translations/large blocks of code in Markdown format now |
It will handle large blocks of text. ✅ Closes: #56
P.S all tested and it works nicely. |
It will handle large blocks of text. ✅ Closes: #56
@MadejaMaciej Does it support embedding HTML code and renders it correctly? |
@mrfatguy Yes but you need to escape all the ` character so use backslash before it. |
OK, but HTML generally doesn't use backtick, right? So, basically speaking, this should work: <span style="font-size: #px">Lost Dutchman Mine</span>
A tale as old as _the desert itself_.
Legend says it holds a fortune **in gold**, just _waiting to be found_!
<div style="text-align: left">Copyright (c) 2024 by Niner Games</div> Am I correct? |
sorry, I was thinking about
Yes it works. |
Please, implement Markdown renderer with support for translations and with some additional extensions.
In addition to #54 we need to support whole-page translations (or translation of big blocks of text), based on Markdown language, for features like credits or newspaper.
The mechanism of actually displaying credits or newspaper will be handled by a separate tickets. This ticket is for introducing Markdown renderer to our application only.
Details are given in our Wiki: Application. Translations → Translation of big blocks of text.
The text was updated successfully, but these errors were encountered: