Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewriting HTML output - where to start? #755

Open
NetTecture opened this issue Nov 29, 2023 · 1 comment
Open

Rewriting HTML output - where to start? #755

NetTecture opened this issue Nov 29, 2023 · 1 comment
Labels

Comments

@NetTecture
Copy link

I need to add additional classes - the bootstrap extension is nice, but it is "only" doing "standard" bootstrap, which is not enough. I need in particular:

  • to add more .class depending on the context in markdown

Example would be to have a HR before the 2nd H2 to isolate the top paragraph, or another HR before the last H2.

  • rewrite the URL of images also based on context.

The use case here is to change the URL to be a specific size, depending on the context again - but mostly depending on the theme. Full original size is behind a click.

@xoofx xoofx added the question label Nov 29, 2023
@xoofx
Copy link
Owner

xoofx commented Nov 29, 2023

It will be most likely a mix of rewriting some of the builtin renderers and change things in the document object model before rendering it back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants