Skip to content

New feature: customizable padding / element spacing  #902

Closed

Description

@xeoncross

Describe your feature request

Allow the user to specify how much padding is between each element in the document. By default the content does not have the right typographic balance. Allow the user to specify larger whitespace gaps.

Screen Shot 2019-04-09 at 10 42 41 PM

This feature will improve readability for many types of content. I assume elements are spaced with a simple padding or margin CSS rule.

Activity

  1. Jocs commented on Apr 10, 2019

    @Jocs
    Member

    This feature should be implemented in the Add Custom theme, and you can add your favorite themes and modify the CSS styles. Including the spacing between paragraphs.

  2. xeoncross commented on Apr 10, 2019

    @xeoncross
    Author

    I disagree based on the existing options already available in the preferences.

    Screen Shot 2019-04-10 at 8 53 45 AM

    I do not want a new theme, I simply want the line-height + padding to keep vertical rhythm. The default looks like 0.5 * 2 = 1em while the default line-height is 1.6em.

  3. added
    🦋 optimization
    on Apr 10, 2019
  4. Jocs commented on Apr 10, 2019

    @Jocs
    Member

    I do not want a new theme, I simply want the line-height + padding to keep vertical rhythm. The default looks like 0.5 * 2 = 1em while the default line-height is 1.6em.

    Yes, But another problem is not that the spacing of each paragraph is the same, such as the title and title, the spacing between the title and the paragraph should be different, although it is now the same in Mark Text. We are also thinking about this issue, and we will adjust the spacing between paragraphs according to different paragraph types.

    If you feel unsatisfied at that time(after we adjust the space between paragraph), we recommend that you download the source code, modify the original theme style, and then package it yourself, or add a new theme.

    Now I label this issue as improvement.

  5. GambitFPS commented on Jan 5, 2022

    @GambitFPS

    What in the Default.css do i have to edit/add to increase the spacing between paragraphs?

  6. plourenco commented on Apr 19, 2022

    @plourenco

    This would be very interesting. I recently abandoned the Typora markdown editor in favour of MarkText and the only impairment I've found so far was the pre-paragraph padding, which seems to compact text and make it less pleasant to read and indistinguishable from the post-padding.

    imagem

    vs

    imagem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🦋 optimization

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions