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

urlpreview: Ability to modify HTML template #24

Open
peterrus opened this issue Oct 24, 2023 · 0 comments
Open

urlpreview: Ability to modify HTML template #24

peterrus opened this issue Oct 24, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@peterrus
Copy link
Contributor

peterrus commented Oct 24, 2023

In my opinion the HTML that is returned by the bot renders in a way that takes up too much space in the chat. In a previous version of the plugin I hacked the following:

image

If we defer all hardcoded HTML to a simple templating engine users can decide how they want to render previews.

I might give this a try myself sometime.

(The example above was implemented using HTML tables. Hello 1997.)

@coffeebank coffeebank changed the title Ability to modify HTML template urlpreview: Ability to modify HTML template Nov 4, 2023
@coffeebank coffeebank added the enhancement New feature or request label Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants