Skip to content

Respect HTML attributes from AttributesExtension on the <pre> block#6

Open
sebastiandedeyne wants to merge 1 commit intotorchlight-api:mainfrom
sebastiandedeyne:main
Open

Respect HTML attributes from AttributesExtension on the <pre> block#6
sebastiandedeyne wants to merge 1 commit intotorchlight-api:mainfrom
sebastiandedeyne:main

Conversation

@sebastiandedeyne
Copy link

Hi Aaron!

I was setting up Torchlight on my Statamic blog and the attributes I set on my code blocks weren't coming through. This PR should fix that by passing the node's attributes in the render method.

Haven't run the v1 tests, hopefully green on CI here 🤞

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant