Skip to content

Support h4, h5, and h6 #1634

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

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

DrewJohnsonGT
Copy link

@DrewJohnsonGT DrewJohnsonGT commented Apr 23, 2025

Related issue 1158

image

Screen.Recording.2025-04-23.at.1.56.28.PM.mov

Figure it doesn't make sense to add these as default/suggested blocks but adding general support will satisfy a lot of use cases

First contribution here, so let me know if I missed anything!

Re-opened with H6 as well per #1623 (comment)

Copy link

vercel bot commented Apr 23, 2025

@DrewJohnsonGT is attempting to deploy a commit to the TypeCell Team on Vercel.

A member of the Team first needs to authorize it.

@DrewJohnsonGT
Copy link
Author

@YousefED @nperez0111 is there anything else I should do here?
I know y'all are swamped, but any feedback would be really appreciated

@nperez0111
Copy link
Contributor

Sorry for taking so long on this. Yea, this is mostly good, the one thing we would need to finish this up would be support in the export formats (e.g. PDF, ODT)

@DrewJohnsonGT
Copy link
Author

DrewJohnsonGT commented May 20, 2025

@nperez0111 No worries! Took a quick stab at that just now
PDF is solid
image

ODT and Word defaults are alright I think?
ODT
image

Word
image

Copy link
Contributor

@nperez0111 nperez0111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great to me

@DrewJohnsonGT DrewJohnsonGT requested a review from nperez0111 May 23, 2025 01:03
@YousefED
Copy link
Collaborator

Nice! @nperez0111 need anything to get this merged? I think it might make sense to make the heading levels configurable? (e.g. simpler Notion style apps might have no need for some levels?)

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.

3 participants