Skip to content

Feat: Add structured text highlighting support.#2937

Open
mm-kpk wants to merge 1 commit into
Chainlit:mainfrom
mm-kpk:feature/add-structured-text-syntax-highlighting
Open

Feat: Add structured text highlighting support.#2937
mm-kpk wants to merge 1 commit into
Chainlit:mainfrom
mm-kpk:feature/add-structured-text-syntax-highlighting

Conversation

@mm-kpk

@mm-kpk mm-kpk commented May 27, 2026

Copy link
Copy Markdown

Implementing feature request #2936.


Summary by cubic

Add syntax highlighting for IEC 61131-3 Structured Text in code snippets. Registers the iecst language with highlight.js and adds types for smooth TS support.

  • New Features

    • Register iecst from highlightjs-structured-text in CodeSnippet so language="iecst" is highlighted.
    • Add a d.ts module declaration for highlightjs-structured-text.
  • Dependencies

    • Add highlightjs-structured-text@^1.7.3 (brings [email protected] as a sub-dependency via lockfile).

Written for commit cffe15a. Summary will update on new commits. Review in cubic

@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. enhancement New feature or request frontend Pertains to the frontend. labels May 27, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Re-trigger cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request frontend Pertains to the frontend. size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant