highlightjs / highlight.js

JavaScript syntax highlighter with language auto-detection and zero dependencies.
https://highlightjs.org/
BSD 3-Clause "New" or "Revised" License
23.69k stars 3.6k forks source link

(markdown) parsing has Problems in Discord Codeblocks #1971

Closed ulfgebhardt closed 5 years ago

ulfgebhardt commented 5 years ago

Markdown parsing has Problems in Discord Codeblocks

Example

## [1.1.1] - 2019-01-28
### Added
- [Donation] added hint to donation statistics that only monthly donations are represented [#590](https://github.com/demokratie-live/democracy-client/issues/590)
- [Support] More Socialmedia buttons
- [Support] Made with <3

### Fixed
- [Imprint] Removed reference to Google Analytics(unused) [#687](https://github.com/demokratie-live/democracy-client/issues/687)
- [SMS-Verification] Spelling mistake corrected [#710](https://github.com/demokratie-live/democracy-client/issues/710)
- [General] PushNotification Library Updated to prevent crash
- [General] Reduced Memory usage (apollo-cache-inmemory)
- [Donation] Fixed spelling mistake [#727](https://github.com/demokratie-live/democracy-client/issues/727)

## [1.1.0] - 2019-01-10
### Fixed
- [General] removed Permission query on Install (Read/Write external Store  + Wifi) [#402](https://github.com/demokratie-live/democracy-client/issues/402)
- [General] PushNotification Token corrected
- [General] Updated ReactNative and all other used Libraries including the PDF-Viewer
- [Internal] Removed BetaEnd Screen
- [ListView] 4 Segments in List including "Vergangen"
- [ListView] Reorder Lists in TopTabs ("Abstimmen", "Vergangen", "Populär", "Vorbereitung")

See picture attached

Attachment(s): discord_markdown.PNG -


This email is a service from Discord.


- Please type your reply above this line -

Hi dornhoeschen,

Your request (4020048) has been updated. To add additional comments, please reply to this email.

Cheers, The Discord Team


kadybat, Feb 6, 15:45 PST

Hey there dornhoeschen,

Thanks for taking the time to report this Markdown issue to us! I'm really sorry about the inconvenience it's caused you. I'll make sure to report this issue to our team for further testing, but there's one other place it might be worth reporting this as well. We base our syntax highlighting heavily off of highlight.js, and this bug may result from an issue within that codebase. If you don't mind, I'd recommend reporting this issue on their bug tracking page as well! https://github.com/highlightjs/highlight.js/issues

In the meantime, while I report this to our team for further investigation, please don't hesitate to let me know if you have any other questions or concerns and I'd be more than happy to help.

Best, kadybat

joshgoebel commented 5 years ago

Can you confirm this is still an issue? A jsfiddle would be useful.

You can fork my template: https://jsfiddle.net/ajoshguy/a1kntyg4/

joshgoebel commented 5 years ago

Ping.

joshgoebel commented 5 years ago

Closing for lack of activity and old issue. If this is still an issue please let us know and we'll be happy to reopen. If so, please provide jsfiddle example so we can quickly see the issue in real-life.