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.

Bold across newline is not recognized as bold

See original GitHub issue
Given the text 
  """
  this is some **bold
  text**
  """
When I render
Then "bold text" should be bold
# But it's not

Sorry to bother you with this @burodepeper, but do you think it can be fixed easily?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
burodepepercommented, Oct 18, 2016

To each his own. Anyway, I don’t think I can help you with this issue any further at this moment. I’m hoping they’ll use a different grammar parsing engine in 2.0.

0reactions
burodepepercommented, Nov 16, 2016

Off the top, I’d say it shouldn’t go across a markdown-block. (So * is either terminated with a * or \n\n)

This is exactly one of the things that’s impossible. The match alternative parses single lines, without a possibility of looking ahead or behind beyond that line. The begin alternative can only be successfully terminated by an end match. You can’t negate the begin-match.

This approach works good enough for programming languages, because proper grammar is absolute, and because the grammar rules are rather strict. An opening ( needs a closing ). I have yet to come across any false-positive while programming.

I’ll also be sure to put some good test coverage if I do this

There are already a bunch of tests in place, a good chunk of them disabled for these reasons.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bold text not aligned with next line - LaTeX Stack Exchange
What am I missing on the last part? Here is my code: Create an int variable that contains your age. Name the variable...
Read more >
Can't bold on new line - Apple Community
I have to type some characters in and then bold them in order to type bold on the line.
Read more >
New line is not working in Javascript [duplicate] - Stack Overflow
I am using new to add two string and second string should be in new line but \n is not working. My code...
Read more >
Multiline bold or italics fail [#2502887] | Drupal.org
In my testing it's no problem getting bold or italic working over multiple lines. It does not work if the closing markdown code...
Read more >
Italics & Bold not rendering properly if they are the final ...
All characters should be italicized and fully visible. Actual behavior. The last character before a newline is cut-off where the italic character would...
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