mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-12 10:04:14 -05:00
Use Tailwindcss-typography to assist with markdown styling #9
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SethBurkart123 on GitHub (Oct 23, 2023).
Originally assigned to: @tjbck on GitHub.
Issue: Markdown Elements Lack Styling in Application
Summary:
The application successfully renders Markdown into HTML elements, but lacks any styling for them. For example,
#headings are converted to<h1>elements but appear unstyled.Suggested Solution:
To resolve this, consider integrating the @tailwindcss/typography plugin, which is fully compatible with the already-implemented Tailwind CSS framework. This plugin will provide out-of-the-box typography styling that can be easily customized.
Additional Information:
I've had a positive experience using this plugin for similar functionality.
@tjbck commented on GitHub (Oct 23, 2023):
Amazing! I'll take a look in a bit to incorporate it into the Web UI. If you manage to get it working in the meantime, PR is welcome 🙏
@tjbck commented on GitHub (Oct 25, 2023):
Just merged the dev branch to main, which enables the markdown styling feature. Thanks for the suggestion!