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

rowbearto

  • Senior Community Member
  • Posts: 946
  • Hero Points: 44
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: 4157
  • Hero Points: 294
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: 946
  • Hero Points: 44
Re: Color coding in markdown issue
« Reply #2 on: December 19, 2017, 02:43:21 pm »
Thanks Clark!