joeyespo / grip

Preview GitHub README.md files locally before committing them.
MIT License
6.42k stars 423 forks source link

Title spacing and borders missing #326

Open mcp292 opened 3 years ago

mcp292 commented 3 years ago

The title is right up against the README banner and there is no document border. readme

spiritphyz commented 3 years ago

I'm finding that this patched index.html looks better: https://github.com/joeyespo/grip/pull/297/commits/af98f0e88dff0f3c5b1182467a904ef4e1a3cdbc

I'm not sure why the index.html template doesn't seem to be incorporated into the Homebrew version of grip on macOS (4.5.2).

I see the same padding and margins issues as you. I had to manually replace the template at these approximate locations with the patched index.html above:

# Linux
/home/username/.local/lib/python3.6/site-packages/grip/templates/index.html

# macOS
/usr/local/Cellar/grip/4.5.2_3/libexec/lib/python3.9/site-packages/grip/templates/index.html

Note: Python version may be different on your machine
raxod502 commented 3 years ago

You need to run from source, as the latest release is two years out of date:

% pip3 install --user git+https://github.com/joeyespo/grip.git