kartsims / psd-cli

Convert to PNG and extract text from Photoshop files using the CLI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More distinct formatting for extracted text

OzymandiasTheGreat opened this issue · comments

I'm currently taking a front-end class and I need to work with PSD website templates.
Those have a lot of text in small blocks where the layer path is the first line of the block and that
is often the entire block.
Current formatting with 3 dashes above and below doesn't make the header stand out at all and
that gets confusing, especially if you accept my pull request for including font information.
Since this is mostly an opinion matter I'm opening an issue for discussion rather than sending another pull request.

Here's my proposal:

  • Prefix header lines with separator char and a space
  • Base separator line length on path line length
  • Use double >> for separating path components

It would look something like this:

---------------------------
- path >> to >> layer
---------------------------