Spiridon
Spiridon

Reputation: 13

How can I add spacing between tasks in PlainTask for Sublime3?

I'm using Sublime Text3 and PlainTasks. I have a TODO list and I'm wondering if it possible to add spacing (something like padding: 10px 0; if it was CSS) between tasks? It's annoying that they don't have any spacing between them by default... I know I can add separators, but I really want to have spacing by default. I checked the preferences and didn't find anything related to that.

I found some html template files in AppData\Roaming\Sublime Text 3\Packages\PlainTasks , and I tried tweaking the inline CSS there, but nothing changed.

Any help will be highly appreciated. Thank you!

Upvotes: 1

Views: 378

Answers (1)

Glutanimate
Glutanimate

Reputation: 1792

You can set this via the "Syntax specific settings":

  1. Make sure you have a plaintasks file open
  2. Go to PreferencesSettings - MoreSyntax Specific - User
  3. Add the following lines to the json settings file:
"line_padding_bottom": 2,
"line_padding_top": 2,

This would set a padding of 2px on top and bottom.


Source: https://www.sublimetext.com/forum/viewtopic.php?f=4&t=54

Upvotes: 1

Related Questions