How to share notes


If I copy my notes from stackedit, how can someone else reading it see it in the same styling?
For eg I am using here bold, lists and code syntax (triple ` tilda)
like these are the notes

Create a new repo on github website or create a new repo on command line or push an existing repo from the cmd

1. git init <project_name>
2. git add . 
// add everything
3. git commit -m "Project setup" // commit with comment

*then add a branch*
4. git branch -M main
5. git remote add origin repo_link
// This is done to specify the repository that we need to push to  
6. git push -u origin main or git push -u origin navbar
// branch name