Skip to content

Line number settings are not used by PrismJS #39

@sebkln

Description

@sebkln

Current behavior

The Flexform settings "Start with line number" and "Highlight lines" are not applied in code blocks. "Show line numbers" is activated.

PrismJS does not recognize the given attributes of the <pre> HTML element.

Environment

  • Codehighlight version: 4.2.0
  • TYPO3 version: 12.4.38
  • Is your TYPO3 installation set up with Composer (Composer Mode): yes

Possible Solution

PrismJS supports data-* attributes for these settings. #40 fixes this issue.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions