I'm trying to write an issue description about code. The C language gcc and clang compilers have a keyword __attribute__ and I'm writing about use of that.
How do I stop markdown interpreting __ or _xxxx_ as a desire for the text to be bold? and inserting {{. I've tried Visual/Text
I can do it easily in this web form.
function with attribute __attribute__((pure))
But Jira mangles it to
{}{}attribute{}((pure))
Why does Jira's editor make it so hard?
Write
_\_\_attribute\_\_((pure))_
in the Text editor mode,
\ escapes _ from being interpreted as start italic mode/end italic mode.
The two outer _ still work to italicize the whole string.
https://www.markdownguide.org/basic-syntax/#escaping-characters
confirms \ can escape all these
\`*_{}[]<>()\+-.!|
But @Marc - Devoteam it does note there is no global markdown standard :-(
"Nearly all Markdown applications support the basic syntax outlined in the original Markdown design document. There are minor variations and discrepancies between Markdown processors."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Marc
Please try typing the text
__attribute__((pure))
one character at a time
into Jira.
Yes, it interprets the markdown.
But how do I escape the character _ to stop markdown grabbing it.
Can I put a \ before like C strings escape control chars (where \ needs to be \\).
It's easy in this webform. I type, I select I change the style.
Why is it difficult in Jira?
If I write the text in a programming editor (I'm a programmer) and cpy and paste it as plain text I get what I expect, but if I copy and paste text inside the Jira editor it mangles it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The only option I see is to use a custom field of type multi line text and don't use the wiki render for that field, but leave it on the default text renderer.
This should no be intervened by Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is not Jira making it difficult, this is the global markdown standard encoding in all tools that support markdown.
So in my opinion you should look how you can set an issue description.
No blaming the global markdown standard on interpreting your text.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.