https://bugs.documentfoundation.org/show_bug.cgi?id=170915
Bug ID: 170915
Summary: [Markdown Request]Styling of code blocks should be
achieved through paragraph style
Product: LibreOffice
Version: 26.2.0.3 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
When importing a code block from markdown, it is correctly converted to a
paragraph with the style "Preformatted text" and appears with a grey
background, but the styling is not due to the Paragraph style, but to direct
formatting added on top of it.
I think :
- No direct formatting should be applied
- The "Preformatted text" paragraph style should bring : fixed-width font +
grey background + some padding (and optionnaly some tweaks to make it look
good)
Steps to Reproduce:
1.Open the attached CodeBlock.md file
2.At the bottom of the file, add another paragraph
3.Apply the "Preformatted text" style to this paragraph
Actual Results:
The last paragraph is formatted with a fixed width font, but with a white
background, which is not consistent with the imported code block paragraph
Expected Results:
The two code blocks (the one imported and the one added) should look similar
and have : fixed-width font + grey background + some padding (and optionnaly
some tweaks to make it look good)
Reproducible: Always
User Profile Reset: Yes
Additional Info:
Should be linked to https://bugs.documentfoundation.org/show_bug.cgi?id=167521
--
You are receiving this mail because:
You are the assignee for the bug.