View Issue Details

IDProjectCategoryView StatusLast Update
0022485mantisbtmarkdownpublic2024-04-07 05:21
Reporterdregad Assigned Tocommunity  
PrioritylowSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.1.0 
Target Version2.27.0Fixed in Version2.27.0 
Summary0022485: Increase spacing before ``` blocks
Description

Currently, the gap between a ``` and the previous line in a bulleted list is quite narrow. This results in overlap, e.g. when the above line contains inline blocks, as shown in the attached screenshot (captured from 0022479:0055940).

I suggest increasing the top-margin of the pre class to avoid that problem.

Additional Information

The problem apparently only occurs when the code block is indented, e.g. within a bulleted list

TagsNo tags attached.
Attached Files
screenshot-20170307-1023.png (2,460 bytes)   
screenshot-20170307-1023.png (2,460 bytes)   

Relationships

related to 0022181 resolvedcommunity Markdown different rendering between inline code (single backtick) and ``` blocks 
child of 0022180 new Markdown issues following implementation in 0017920 

Activities

dregad

dregad

2017-03-07 04:31

developer   ~0055941

Last edited: 2017-03-07 04:32

Compare screenshot with rendered markdown

Normal code block: as p > T (just looking

Projects
  • Indented code block: confusing, as p > T (just looking
    Projects
joel

joel

2017-03-08 10:39

developer   ~0055999

Fixed with https://github.com/mantisbt/mantisbt/pull/1004/commits/3fd0260b1b0119aa9f580a8a8229f5ee934aa7f2

dregad

dregad

2024-04-05 07:34

developer   ~0068791

PR https://github.com/mantisbt/mantisbt/pull/1987

Related Changesets

MantisBT: master 47ef2e6e

2024-04-07 04:42

grummbeer

Committer: community


Details Diff
Equalize the appearance of inline code and code blocks

Fixes 0022181 0022485, PR https://github.com/mantisbt/mantisbt/pull/1987
Affected Issues
0022181, 0022485
mod - plugins/MantisCoreFormatting/files/markdown.css Diff File