V0.55 didn’t fix this unfortunately: my steps to reproduce still produce the unstylized text and not a code block.
installed: 0.55 (87) 125MB –
refreshed: 2017-11-19 19:51:40 +0200 EET
Perak’s markdown ironically has had one issue reported about a reverse problem: someone had their first line always treated as code block (which was because they had indented the line). No bugs reported about the first line indentation being trimmed off.
@xet7 Ah yes, the backticks are a cleaner workaround.
Not sure what you meant about the description supporting markdown, as markdown formatting of the description is what I was reporting on :)
In case my wording was unclear, I didn’t mean I wanted to preserve the indentation going from the editor to the formatted view, but to use markdown’s indented code block feature, which works just fine unless the indentation occurs right at the beginning of the description (or a comment), where the starting indention is trimmed off (thus breaking the code block formatting).
Impacted version: 0.49
Server Setup Information:
- Operating System: Ubuntu 16.04
- Deployment Method: snap
- ROOT_URL environment variable (Is there a subfolder?): https://my-domain.com/kan (yes)
Steps to reproduce:
- Create a card
- Enter a description which consists entirely of a (markdown-styled) code block, i.e. indented with 4 spaces:
- Save the description
The description is plain, unstylized text.
What I expect to happen:
For the description to be rendered as a code block.
How to work around this:
I have to enter at least one non-whitespace character followed by at least two newlines before entering the indented code block. Urgh :(