terrylinooo / githuber-md

Markdown editor plugin for WordPress.
GNU General Public License v3.0
610 stars 89 forks source link

[Bug] Syntax highlighting is not case-sensitive #291

Closed guoqqqi closed 1 year ago

guoqqqi commented 1 year ago

Describe the bug

Code block highlighting in markdown is not case-sensitive.

When I tag a code block with Lua the block is not highlighted, when I change it to lua it is highlighted.

To reproduce

Steps to reproduce the behavior:

  1. Create a new Markdown article
  2. Edit the contents of the code block and mark it as Lua
  3. Posting Updates
  4. See error image

Expected behavior

I can highlight Markdown code blocks using either Lua or lua tags

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 2 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.