Right now, inline code in refs in lists looks a bit weird, and inline code in refs where there is more inline code later on in the line also looks weird. This PR should fix both of those issues, and I didn't notice any regressions in the test files due to these changes.
Here's some pictures demonstrating the changes (ignore the conceal differences, I had the cursor on the line in one picture and off in the other)
Right now, inline code in refs in lists looks a bit weird, and inline code in refs where there is more inline code later on in the line also looks weird. This PR should fix both of those issues, and I didn't notice any regressions in the test files due to these changes.
Here's some pictures demonstrating the changes (ignore the
conceal
differences, I had the cursor on the line in one picture and off in the other)before:![md_broken](https://github.com/vim-pandoc/vim-pandoc-syntax/assets/61218022/b6e5601d-c752-4602-b18e-36d46315a70c)
after:![md_fixed](https://github.com/vim-pandoc/vim-pandoc-syntax/assets/61218022/4d5b8d5c-1fdc-4314-ba12-8be08d9945a6)