Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.0
-
Fix Version/s: 4.1-milestone-1
-
Component/s: Syntax - markdown/1.0
-
Labels:None
-
Similar issues:
XRENDERING-237Markdown code style doesn't work XRENDERING-186 Implement a Markdown Renderer XRENDERING-127Add Markdown syntax support XRENDERING-179Markdown quote syntax does not work XRENDERING-266 Add Code Block to represent code content XRENDERING-13 Impossible to have ending code macro syntax in a code macro when there is no starting code macro before XRENDERING-212Exception when saving document in Markdown 1.0 XRENDERING-267 Add support for abbreviations in the syntax XRENDERING-28 Add xwiki/2.0 syntax highlight support to code macro XRENDERING-91 Provide functions to velocity to allow javascript style XDOM manipulation.
Description
In Markdown, code is written using either
//code with 4 spaces in front
public class FormattedCode {}
or with GitHub's flavor
```
//Code surrounded with 3 backticks
public class FormattedCode {}
```
And finally, this can be inlined using `void doStuff()` (ie simple backticks).
None of these syntax use at least a monospaced font and the backtick version literally displays the backticks
Activity
Vincent Massol
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 4.1-milestone-1 [ 13141 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Assignee | Vincent Massol [ vmassol ] | |
| Resolution | Fixed [ 1 ] |
Vincent Massol
made changes -
| Component/s | Syntax - markdown/1.0 [ 12453 ] | |
| Component/s | Syntax - doxia bridge [ 11110 ] |
Vincent Massol
made changes -
| Affects Version/s | 4.0 [ 12955 ] |