Basically you have a markdown file and add latex when needed. It's not the best tool if you need to format the document in a very specific way, but for personal notes works really well