Avainsanana Markdown

V0.55 didn’t fix this unfortunately

20. marraskuuta 2017 klo 15.30
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Markdown, Wekan

V0.55 didn’t fix this unfortunately: my steps to reproduce still produce the unstylized text and not a code block.

tracking: stable
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.

Vastaa viestiin sen kontekstissa (Github)

Ah yes, the backticks are a cleaner workaround

10. lokakuuta 2017 klo 20.15
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Markdown, Wekan

@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).

Vastaa viestiin sen kontekstissa (Github)

Whitespace trimming breaks Markdown code block indentation

10. lokakuuta 2017 klo 18.41
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Markdown, Wekan

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:

  1. Create a card
  2. Enter a description which consists entirely of a (markdown-styled) code block, i.e. indented with 4 spaces:
     first line
     second line
  3. Save the description

What happens:
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 :(

Vastaa viestiin sen kontekstissa (Github)