Automattic / Automattic/syntaxhighlighter

Add support for PL/SQL

Open
#206 0 comments 0 reactions 0 assignees View on GitHub
[Type] Enhancement Involves Happiness
Dominant language
CSS
Stars
251
Forks
81
PR merge metrics
No merged PRs in 30d

Description

### Is your feature request related to a problem? Please describe
A user just wants to be able to add properly highlighted PL/SQL

### Describe the solution you'd like
Add proper syntax highlighting for PL/SQL

### Describe alternatives you've considered
I told them they could try choosing SQL for now. They were just using plain text. I tested with a few samples from [this site](https://docs.oracle.com/cd/A97630_01/appdev.920/a96624/a_samps.htm) with SQL selected, and some of it is picked up nicely, but other parts (print and what not for example) are not highlighting as one might expect:

Screen Shot 2021-03-15 at 12 00 27 PM

### Additional context
Here's the original request:
https://wordpress.com/forums/topic/plsql-code-is-not-available-in-syntaxhighlighter-block/

The user had just selected text for now.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by locating the existing SQL highlighting implementation and compare it with the PL/SQL samples linked in the issue. Done means PL/SQL is properly highlighted instead of being treated as plain text.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.