Headings in the Edit mode are not properly formatted

Steps to reproduce

Create a heading.

Not sure why in one part of the document it is shown correctly in Edit, and in another it isn’t.

Expected result

Actual result

Environment

  • Operating system: Windows 10
  • Obsidian version: v0.6.7
  • Using custom CSS: no

Additional information

it would help to see the full file to pinpoint the issue.

Sure.
I’ve uploaded the shortened file. I can’t upload it here (it’s an .md file), so I’ve shared it from OneDrive: https://1drv.ms/u/s!AlzoatgV3YZykpsqu41xZK59N1opiw?e=RCgak2
The bug is in the last paragraph:
paveikslas
Thank you.

The problem is that you are using html tags and you are not escaping them . Infact, they do not appear in preview mode.

## [[2020-05-04]]
- 15
	- `<em>` (pabrėžia) vs `<i>` (pakreipia)
		- Rekomenduojama naudoti `<em>`.
	- Atitinkamai: `<strong> ` geriau nei `<b>`
- 18
	- Linkus kuria elementas: **`<a>`** (anchor)
- 20
	- HTML is for structure. Nenaudoti visokių ten __align, border__ HTML'e, nes tam skirtas CSS.
- 25
	- `<form>` apibrėžia formą. Ji savaime nedaro nieko.
	- Ji turi daug kitokių elementų (label, input(atributai: submit, file, password, text, range, etc.))
- 32
	- `<body style="">`
style attribute takes CSS code.
            - Color palettes: https://colorhunt.co/ [[!]]
# 34
- CSS tag'as yra: **`<style>`**
- Jį įdėti reikia `<head>` dalyje, po `<title>`
- Išvardinus elementus, kurie keičiami, dedam { }
1 Like

Got it, thanks!