Skip to content

Conversation

@MikeRyanDev
Copy link
Contributor

PR Checklist

Currently, Analog's content pipeline instantiates a Marked Renderer and a Parser to add custom formatting for code, codespan, and paragraph tokens. Unfortunately, this means that new Marked extensions can't decorate the Renderer or Parser with new tokens.

What is the new behavior?

Refactors the handling of these tokens into a MarkedExtension, letting this wrapping happen as part of Marked's extension flow.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

[optional] What gif best describes this PR or how it makes you feel?

@netlify
Copy link

netlify bot commented Apr 24, 2025

Deploy Preview for analog-docs ready!

Name Link
🔨 Latest commit a15f348
🔍 Latest deploy log https://app.netlify.com/sites/analog-docs/deploys/680ab4783c9c7a0008f4aa32
😎 Deploy Preview https://deploy-preview-1708--analog-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Apr 24, 2025

Deploy Preview for analog-app ready!

Name Link
🔨 Latest commit a15f348
🔍 Latest deploy log https://app.netlify.com/sites/analog-app/deploys/680ab4782e990a00084ad8b6
😎 Deploy Preview https://deploy-preview-1708--analog-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Apr 24, 2025

Deploy Preview for analog-blog ready!

Name Link
🔨 Latest commit a15f348
🔍 Latest deploy log https://app.netlify.com/sites/analog-blog/deploys/680ab478dc2e510008a6e9e1
😎 Deploy Preview https://deploy-preview-1708--analog-blog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Apr 24, 2025

Deploy Preview for analog-ng-app ready!

Name Link
🔨 Latest commit a15f348
🔍 Latest deploy log https://app.netlify.com/sites/analog-ng-app/deploys/680ab4781913370008176ac0
😎 Deploy Preview https://deploy-preview-1708--analog-ng-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@brandonroberts brandonroberts changed the title fix(content): allow marked extensions to add new renderers fix(platform): allow marked extensions to add new renderers Apr 24, 2025
@brandonroberts brandonroberts merged commit a0bfb70 into analogjs:beta Apr 24, 2025
20 of 21 checks passed
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.

2 participants