Suppressing/disabling markdown in calculation field
Hi, I struggle with markdown in the calculations app.
I seek to reference strings from text or relationship fields which start with a number, e.g. 2. [some text] or 4. [some number]. When displaying them in a calculations field, markdown displays them as start of an enumeration. How can I disable/suppress markdown in the calculation field and show the actual string such that 2. [some text] stays 2. [some text] and is not converted to 1. [some text]?
Thank you for your help!
* Text field input: 3. text
* Calculation field:
var a = @text
* Desired result:
"3. text" (without the " ")
Markdown will convert "[whatever number]. String" to start from one and increment. So
4. Item 1
9. Item 2
5. Item 3
will be converted to:
1. Item 1
2. Item 2
3. Item 3
You may either change the separator to " - " (vs. period) within the source string, or you can try wrapping the whole thing within back ticks so that this is considered as code/preformatted.
Like "`" + @Text + "`"
Depending on the use case, you may want to try dynamic images (like: https://dabuttonfactory.com/) with a transparent background.
(Or wait for a couple of hours, and RAINER will come up with a smarter solution...)
Please sign in to leave a comment.