question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

trailing-whitespace extension doesn't allow for md.j2

See original GitHub issue
error: bad --markdown-linebreak-ext extension '.md.j2' (has . / \ :)
  (probably filename; use '--markdown-linebreak-ext=EXT')```

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Natimcommented, Feb 5, 2020

would silently do the wrong thing for foo.fnd

Actually foo.fmd doesn’t match .md

1reaction
Natimcommented, Feb 5, 2020

~technically there’s no such thing as a double-extension:

>>> import os
>>> os.path.splitext('foo.md.j2')
('foo.md', '.j2')

If that’s a usecase we want to support, we could also use:

>>> filename = 'foo.md.j2'
>>> filename.endswith('.md.j2')
True
Read more comments on GitHub >

github_iconTop Results From Across the Web

Trailing Whitespace Visualizer - Visual Studio Marketplace
This extension will highlight and remove any trailing whitespace on any line in any editor in Visual Studio. This makes it really easy...
Read more >
How can I selectively trim trailing whitespace in VSCode?
I generally have the Trim Trailing Whitespace setting turned on in VSCode ... turn this rule on/off based on file path or file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found