Author Topic: Color coding in markdown issue  (Read 1700 times)

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Color coding in markdown issue
« on: December 18, 2017, 06:57:02 PM »
Attached is a README.md markdown file (used in github).

When using "fencing" feature - 3 backticks ``` one is expecting code formatting.

If asterisks are used inside the "fencing", the color coding for "bold" or "italics" should not be used, as this text is to be printed as code.

See lines 75, 87 and 115 of the attached README.md file where I think SE is making an error in the color coding.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: Color coding in markdown issue
« Reply #1 on: December 19, 2017, 02:32:50 PM »
Definitely a bug. Bug appears to be a bad regex (not user configurable unfortunately). If you append a space after the``` then it works. We will put together a fix for this (not a hot fix).

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Re: Color coding in markdown issue
« Reply #2 on: December 19, 2017, 02:43:21 PM »
Thanks Clark!