Markdown stopped working after I started taking some HTML code snippets

Hello, so I started using Obsidian to take some notes on a cyber security course I am taking. I have been figuring out the Markdown language as I am typing notes, but it seemed to have stopped after I typed some HTML code snippets.

If I can figure out how to attach my notes, I can do that.

If I delete two paragraphs after a code block, it seems to fix itself. Doesn’t seem to have a rhyme or reason as to why it stopped after the two paragraphs.

Any help would be super appreciated!

I will try and attack my notes OR just copy and paste them below

How Websites Work.md (2.8 KB)

Markdown doesn’t seem to work starting at the JavaScript heading.

If you delete the full two paragraphs above that, the two below the code block, it comes back. Thinking it’s related to the HTML code snippets, but I’m clearly not an expert.

Mark the HTML sections as inline code (single backticks) and you should be fine. e.g.

`<!DOCTYPE html>` defines an HTML5 document. Tells browser to use HTML5
`<html>` is the root element
`<head>` contains info about the page
`<body>` defines the body, only content inside of the body is shown in the browser
`<h1>` defines a large heading
`<p>` defines a paragraph
`<a>` defines a link 
...

Have a look at the gif here:

Makes so much sense! I’m figuring out this program as it’s SO COOL for taking notes.

Now I need to figured out how to make my notes more pretty/palatable looking. At the moment, it feels like a jumble of words with headers to break things up.

Thank you so much!

1 Like

Check out callouts for breaking sections apart, CALLing something OUT; you can fold them, nest them, style then with custom CSS, etc. Really fun.