-
Suggestion
-
Resolution: Won't Fix
-
None
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
It's often useful to put code snippets inline with prose. If the snippet is very short, breaking the paragraph flow for a code block is disruptive. It looks much better to put it inline and simply render it in a monospaced font. This is especially useful when discussing command line flags or identifiers used in a code block.
In JIRA it's possible to do this with double curly braces, for example {{someIdentifier}}. Unfortunately no such facility exists for Answers. I think a button should be added to the inline formatting set (with bold and italic) which applies a monospaced font.
- relates to
-
CONFCLOUD-51767 Add support for formatting of inline code snippets
- Closed
[CONFSERVER-51767] Add support for formatting of inline code snippets
Workflow | Original: JAC Suggestion Workflow 4 [ 3577390 ] | New: JAC Suggestion Workflow 3 [ 4338566 ] |
Workflow | Original: JAC Suggestion Workflow 2 [ 3170585 ] | New: JAC Suggestion Workflow 4 [ 3577390 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Suggestion Workflow [ 3031633 ] | New: JAC Suggestion Workflow 2 [ 3170585 ] |
Workflow | Original: Confluence Workflow - Public Facing v4 [ 2532195 ] | New: JAC Suggestion Workflow [ 3031633 ] |
Workflow | Original: Confluence Workflow - Public Facing v3 [ 2287804 ] | New: Confluence Workflow - Public Facing v4 [ 2532195 ] |
Workflow | Original: Confluence Workflow - Public Facing v3 - TEMP [ 2181979 ] | New: Confluence Workflow - Public Facing v3 [ 2287804 ] |
Workflow | Original: Confluence Workflow - Public Facing v3 [ 1949900 ] | New: Confluence Workflow - Public Facing v3 - TEMP [ 2181979 ] |
Workflow | Original: Confluence Workflow - Public Facing v2 [ 1767267 ] | New: Confluence Workflow - Public Facing v3 [ 1949900 ] |
Description |
Original:
It's often useful to put code snippets inline with prose. If the snippet is very short, breaking the paragraph flow for a code block is disruptive. It looks much better to put it inline and simply render it in a monospaced font. This is especially useful when discussing command line flags or identifiers used in a code block.
In JIRA it's possible to do this with double curly braces, for example {{\{\{someIdentifier\}\}}}. Unfortunately no such facility exists for Answers. I think a button should be added to the inline formatting set (with bold and italic) which applies a monospaced font. |
New:
{panel:bgColor=#e7f4fa} *NOTE:* This suggestion is for *Confluence Server*. Using *Confluence Cloud*? [See the corresponding suggestion|http://jira.atlassian.com/browse/CONFCLOUD-51767]. {panel} It's often useful to put code snippets inline with prose. If the snippet is very short, breaking the paragraph flow for a code block is disruptive. It looks much better to put it inline and simply render it in a monospaced font. This is especially useful when discussing command line flags or identifiers used in a code block. In JIRA it's possible to do this with double curly braces, for example {{\{\{someIdentifier\}\}}}. Unfortunately no such facility exists for Answers. I think a button should be added to the inline formatting set (with bold and italic) which applies a monospaced font. |
Link |
New:
This issue relates to |