This is a second POC attempt to directly post an Obsidian note to my website.
My script still merely grabs the filecontent and title from files created in Obsidian and saved in a predefined folder on my local system and sends it to my Micropub endpoint. But now it should also parse the content for Markdown and turn it into the HTML equivalent.
header 2
header 3
Bold text
Italic text
- list item
- another list item
- indentend list item
What happens if I have a backticked block in my file
some nonsense here
$string = "stringtext";
As before nothing yet is done yet for tags, categories etc. This is just another attempt to see if the basic process can be made to work.
Screenshot of this posting as I wrote it in markdown in Obsidian