glamour icon indicating copy to clipboard operation
glamour copied to clipboard

Extra space after nested list items

Open shitchell opened this issue 3 years ago • 2 comments

When a list ends with a nested item, there is an extra newline added based on the indentation level of the last list item. I.E.: if the last item in a list is has an indentation level of 2, there will be 2 newlines between the list and the next item

glow-space

shitchell avatar Dec 20 '20 09:12 shitchell

I'm not sure where best to ask this, but what is the best way to work on this repository?

I'm using it with glow, which currently imports github.com/charmbracelet/glamour. If I change that to github.com/shitchell/glamour, it gives me an error that the module declares itself as charmbracelet/glamour. I've tried changing all instances of charmbracelet within glamour to shitchell, but the error message persists :/

shitchell avatar Dec 20 '20 10:12 shitchell

You can use a replace directive in the go.mod file or temporarily disable Go modules and use your local checkout in GOPATH. This explains it fairly well, I think: https://teivah.medium.com/how-to-test-a-local-branch-with-go-mod-54df087fc9cc

muesli avatar Dec 20 '20 16:12 muesli