code blocks done with ~~~~ not recognized when DOS style line endings are used

Frank's Avatar

Frank

02 Sep, 2022 08:43 AM

The problem goes away if I convert the line endings to UNIX style. The result of displaying the file is shown in the screenshot.

  1. Support Staff 1 Posted by Brett on 02 Sep, 2022 10:44 AM

    Brett's Avatar

    Yes, DOS line endings cause all kinds of problems. Even windows machines can be set to use UNIX newlines.

    -Brett

  2. 2 Posted by Frank on 02 Sep, 2022 10:53 AM

    Frank's Avatar

    sure but this doesn't work necessarily with all editors on Windows. And to convert all files that I receive is also only a workaround.

    From a conceptual point of view, your parsing module should nevertheless handle them gracefully, don't you agree?

  3. Support Staff 3 Posted by Brett on 02 Sep, 2022 11:23 AM

    Brett's Avatar

    For the most part it does, but there have always been some kinks. I'll take another look at it.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • openpoints.md 100 Bytes
  • Screenshot_2022-09-02_at_10.42.05.png 223 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac