Skip to content

Handle headings <h1><h5>, as well as <h6> #192

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

Closed
Tracked by #309
gnprice opened this issue Jun 15, 2023 · 0 comments · Fixed by #492
Closed
Tracked by #309

Handle headings <h1><h5>, as well as <h6> #192

gnprice opened this issue Jun 15, 2023 · 0 comments · Fixed by #492
Assignees
Labels
a-content Parsing and rendering Zulip HTML content, notably message contents beta feedback Things beta users have specifically asked for

Comments

@gnprice
Copy link
Member

gnprice commented Jun 15, 2023

Currently the prototype handles <h6> elements, but not headings of higher levels <h5> up to <h1>. We should handle the higher-level headings too.

This means parsing them in lib/model/content.dart, and then styling them appropriately in lib/widgets/content.dart.

For appropriate styling, see the Zulip web app's web/styles/rendered_markdown.css.

@gnprice gnprice added the a-content Parsing and rendering Zulip HTML content, notably message contents label Jun 15, 2023
@gnprice gnprice added this to the Beta milestone Jun 15, 2023
@gnprice gnprice modified the milestones: Beta 1, Beta 2 Nov 8, 2023
@gnprice gnprice modified the milestones: Beta 2, Beta 3 Nov 22, 2023
@gnprice gnprice modified the milestones: Beta 3, Beta 2 Dec 23, 2023
@gnprice gnprice added the beta feedback Things beta users have specifically asked for label Dec 23, 2023
@sirpengi sirpengi self-assigned this Jan 11, 2024
sirpengi added a commit to sirpengi/zulip-flutter that referenced this issue Jan 25, 2024
sirpengi added a commit to sirpengi/zulip-flutter that referenced this issue Jan 25, 2024
sirpengi added a commit to sirpengi/zulip-flutter that referenced this issue Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-content Parsing and rendering Zulip HTML content, notably message contents beta feedback Things beta users have specifically asked for
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants