-
-
Notifications
You must be signed in to change notification settings - Fork 31
Description
We (Prighter) want to apply some basic formatting to our translations. In our react app we're wrapping tolgee output in a markdown element. That means if the raw translation looks like this:
# This is an _example_
The quick brown **fox** jumps over the lazy ~~cat~~dog.
In our react app it will look like this:
This is an example
The quick brown fox jumps over the lazy catdog.
One feature of markdown are paragraphs. Two new lines in markdown will convert into a new paragraph in html.
Our team mostly uses the FF/Chrome extensions but they block any usage of new lines. Meaning, pressing enter inside the translation either doesn't do anything, or in some cases allows one new line. Pressing enter in the web app itself, is the same as pressing "Save".
According to a quick inquiry in your slack channel, this could be a bug. If not, and there's another way to do what we want to do, please tell us.