limit text height option

Mathew's Avatar


15 Sep, 2011 05:44 PM

One of the very useful features (for me) in Marked is that within preferences I can "limit text width in Preview to ___ pixels" This is fantastic for creating the look & feel I want for final documents. However, I'm finding the height is problematic (especially the text goes too low on the page—perhaps with less than 0.5" at the bottom). I realize this is a personal taste issue, but would be possible to also add a:

"limit text height to ___ pixels" in a future version of Marked? That would help tremendously.

Being able to insert page breaks would also be useful, but I'm not certain this is really possible/practical with Marked. But at least being able to control the height would help alleviate some final formatting issues. Many thanks for listening.

  1. Support Staff 1 Posted by Brett on 15 Sep, 2011 06:13 PM

    Brett's Avatar

    I don't understand what this option would do. The page has to continue to lengthen as the text gets longer; you can only squeeze it in one direction. How do you envision this working?

    Pagination occurs when you send to print or Print to PDF. The current Save to PDF function doesn't paginate (yet), but saving a PDF through the print panel will handle it for you.

  2. 2 Posted by Mathew on 15 Sep, 2011 06:23 PM

    Mathew's Avatar

    Brett: Sorry, I probably did not communicate all of this very well.

    Yes, I know about the pagination via the print panel.

    What I'm really interested in is not pagination per se, but bottom/top margins. By using the "limit text width" option I can control margins for the final output as PDF. I'd also love to be able control margins for top/bottom (something closer to 1.25" or pixel equivalent, rather than current 0.4 or 0.5" margins).

    I realize the page has to continue to lengthen. So perhaps my idea isn't the best one, but what I'm aiming for is a quick way to set top/bottom margins.

    Here's the bottom line for me: using the custom CSS option you provide I already have the "look & feel" I want for a document. So I don't want to then send it to something else (word processor, etc.) just to fix some of these very small settings.

    Does this make more sense? (Of course, I don't know if this is easily doable.)

  3. Support Staff 3 Posted by Brett on 15 Sep, 2011 07:29 PM

    Brett's Avatar

    There are some CSS tricks you can use to set page margins when the browser paginates the HTML for printing. I've been playing with these to find a universal way to allow better print formatting, but am not quite there yet. I will definitely take this as a vote for that feature and continue to work on it.

  4. 4 Posted by Mathew on 15 Sep, 2011 08:25 PM

    Mathew's Avatar

    Yes, you are correct. Big vote for this!

    I realize it may be tricky, and I won't be impatient. But hopefully in time this added functionality will appear. Many thanks.

  5. 5 Posted by Mathew Mitchell on 15 Sep, 2011 08:26 PM

    Mathew Mitchell's Avatar

    Many thanks! This would be great if it appeared in some future incarnation!

    - Mathew

  6. Brett closed this discussion on 15 Sep, 2011 08:30 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac