In a markdown file adding a gitsnippet code block will pull a syntax highlighted block from git.
You can write this manually or use the command
Show highlighted code blocks from your git commits
You're code needs to be in a git repository.
There is no real error handling at the moment so there may be a number of issues. I'm mostly focusing on getting base functionality correct at the moment.
Trying to add file links to the code blocks. This kind of works but doesn't re-render if the markdown preview is closed and reopened. I will fix this later but I want to use this as is for right now.
Altered this README to make it a bit less rubbish
This is the first basically working version
0.0.2 / 0.0.1
Worked out how to do CI in github actions to push out when finishing a pull request.