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

[indent-headings] export to pdf issue #16

Open
sdaognklwb opened this issue Apr 26, 2024 · 10 comments
Open

[indent-headings] export to pdf issue #16

sdaognklwb opened this issue Apr 26, 2024 · 10 comments

Comments

@sdaognklwb
Copy link

Hello @zamsyt

A really big thank you for making this snippets. It has made my day.

The plugin works exceedingly well so far. However, I am just wondering if it is intended for the indents not to be carried over to the pdf export? AKA I can see the indents in preview mode fine, but when I export them to a pdf file, they fall back to how they are originally placed, rather than indented.

Thanks and looking forward to hearing from you.

@zamsyt
Copy link
Owner

zamsyt commented Apr 30, 2024

Thanks for the kind words! @sdaognklwb

The snippet needs separate rules for the different modes due to them being different, and I just haven't added that for the PDF exports before. I've now added that support in the dev branch: dev/Indent headings.css. Let me know if it's working as expected.

I'll wait for a while before pushing this change in the main version (might do a performance comparison myself). This snippet requires a large set of complicated rules to work---once over for each of the now 3 rule sets! I've had to fix a performance issue before, and if this change ends up having a noticeable impact, I might consider providing the version with PDF support as a separate version.

@sdaognklwb
Copy link
Author

Hi @zamsyt

Thanks for the update. It works wonder so far with the pdf export. Thank you so much.

I have another question regarding how the headings are structured.

So from the below screenshot, you can see the first sentence and first-level heading are aligned. However, after I used a second-level header, all the content that I subsequently typed will be under this second-level heading. I will not be able to start a new sentence that does not belong to any heading afterwards. Is this an intended effect?

In simpler terms, what I want to do is if i want to type a new sentence that aligns with "This is an apple" after "This is a carrot", is it possible? Currently, it is impossible and everything i type after "this is a carrot" will be under "this is a carrot", and I cannot open a new line that does not belong to that.

I know it sounds confusing, but I hope you understand.

THANK YOUUU UwU

Screenshot 2024-05-02 at 10 41 34

@zamsyt

This comment was marked as off-topic.

@sdaognklwb

This comment was marked as off-topic.

@zamsyt

This comment was marked as off-topic.

@sdaognklwb

This comment was marked as off-topic.

@zamsyt

This comment was marked as off-topic.

@sdaognklwb

This comment was marked as off-topic.

@zamsyt

This comment was marked as off-topic.

@sdaognklwb

This comment was marked as off-topic.

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

No branches or pull requests

2 participants