Hello,
Stupid first question, but I would like to share code in my posts. I have looked at markdown and HTML and they don’t cut the mustard. Most of my coding is in bash or PowerShell.
How does everyone else do this?
Regards
Hello,
Stupid first question, but I would like to share code in my posts. I have looked at markdown and HTML and they don’t cut the mustard. Most of my coding is in bash or PowerShell.
How does everyone else do this?
Regards
Ghost has native support for code blocks, so you should be able to share your code following this guide:
Vikas - worked a treat. Thanks mate
Hi,
As an alternative option and especially if you like self hosting and homelabbing you can try the GitHub - jordan-dalby/ByteStash: A code snippet storage solution written in React & node.js.
I really like this project. It allows you to manage code snippets outside of you blog and update them from there. It supports embedding spippets.
Here is a video with a quick overview:
thankyou. Investigating