# Turn off new YAML 1.4?

**URL:** <https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310>\
**Category:** Help\
**Created:** [August 2, 2023, 12:20pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310 "2023-08-02T12:20:35Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![DJP](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/bbe5ce/32.png) [@DJP](https://forum.obsidian.md/u/DJP)\
**Post date:** [August 2, 2023, 12:20pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/1 "2023-08-02T12:20:35Z")

</div>

First, search the [help docs](https://help.obsidian.md) and this forum. Maybe your question has been answered! The [debugging steps](https://forum.obsidian.md/t/about-the-bug-reports-category/24/11) can help, too. Still stuck? Delete this line and proceed.

### What I’m trying to do

I am trying to revert back to previous YAML view. The current view (1.4) negates all the tags that I have. They don’t show up at all. I don’t want to have to reenter them all.

### Things I have tried

I have attempted to read through documentation, did a search via google, looked at switches under Core Plugins and haven’t been able to find a way to do this. Thanks for the help. Apologies if this is a simple fix that I missed.

---

<div class="post-metadata">

**Author:** ![davesilva](https://forum.obsidian.md/user_avatar/forum.obsidian.md/davesilva/32/42864_2.png) [@davesilva](https://forum.obsidian.md/u/davesilva)\
**Post date:** [August 2, 2023, 12:31pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/2 "2023-08-02T12:31:54Z")

</div>

Perhaps a workaround would be to switch to Source mode. E.g. CMD+P \> “Toggle Live Preview/Source mode”.

---

<div class="post-metadata">

**Author:** ![DJP](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/bbe5ce/32.png) [@DJP](https://forum.obsidian.md/u/DJP)\
**Post date:** [August 2, 2023, 2:07pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/3 "2023-08-02T14:07:53Z")

</div>

I have been using the #Tag (example #Personal) protocol for some time. It is pretty standard with other apps. I can no longer do that in this iteration, even switching to Source Mode. If I enter #Personal, Obsidian indicates that it is not a valid entry for a Tag and will delete it. I have been a big fan of Obsidian and even did the paid version (moving from Evernote). But this has kind of broken it for me. I often use a text editor app and save to .md and then move file into Obsidian vault. This isn’t good.

---

<div class="post-metadata">

**Author:** ![ironhak](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/i/b77776/32.png) [@ironhak](https://forum.obsidian.md/u/ironhak)\
**Post date:** [August 2, 2023, 2:19pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/4 "2023-08-02T14:19:55Z")

</div>

Well… why not add an option to disable the feature? I don’t see why everyone would want to have it. Plus I don’t want to disable live preview just to not have this feature.

---

<div class="post-metadata">

**Author:** ![ariehen](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ariehen/32/46932_2.png) [@ariehen](https://forum.obsidian.md/u/ariehen)\
**Post date:** [August 2, 2023, 2:47pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/5 "2023-08-02T14:47:47Z")

</div>

It’s unclear what’s happening at the moment. Check the BR and FR categories or Discord.

> [@Show raw YAML in live preview (with hidden properties)](https://forum.obsidian.md/t/allow-yaml-in-live-preview-with-hidden-properties/63830):
>
> Use case or problem Even when the “Show file properties” option is turned off, I can no longer see my YAML in live preview. Proposed solution Allow an option where properties are off and YAML is restored. Current workaround (optional) YAML is visible in source mode (but it is inconvenient to switch back and forth as simultaneously viewing YAML, images, and dataview queries are integral to my workflow). Perhaps it could alternatively be restored through CSS or a plugin, but I am unfamiliar.

> [@Show raw YAML in live preview (with hidden properties)](https://forum.obsidian.md/t/allow-yaml-in-live-preview-with-hidden-properties/63830/20):
>
> I really like the all properties pane like the tags, but would also like to revert to seeing YAML as “source view” in my live preview, as I use dataview and YAML heavily and prefer the plain text. The properties also tends to add random line breaks, show lists differently or add “” to certain text properties which annoys me when I swap between source view and live preview. I support this FR. Perhaps when we enable the Properties feature in the core plugins, we could have an option to show as s…

> [@Please allow editing of all YAML properties in Preview mode](https://forum.obsidian.md/t/please-allow-editing-of-all-yaml-properties-in-preview-mode/64111):
>
> Use case or problem Hello all. The new 1.4.1 release of Obsidian makes it impossible to edit YAML items which are lists while in Preview mode. It “looks nicer” but is now harder to use, which in my view violates the main idea of Obsidian to take quick notes. Clicking, double clicking, right clicking, nothing seems to allow me to do what I want. The only way to edit the “meeting” field here is to change to Raw mode. Proposed solution Preferably, ju…

---

<div class="post-metadata">

**Author:** ![stef.rausch](https://forum.obsidian.md/user_avatar/forum.obsidian.md/stef.rausch/32/51207_2.png) [@stef.rausch](https://forum.obsidian.md/u/stef.rausch)\
**Post date:** [August 2, 2023, 3:04pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/6 "2023-08-02T15:04:54Z")

</div>

Where exactly do you key in `#Personal`? In the frontmatter (YAML) section as the value of the `tags` key or as an inline (Dataview) YAML key, e.g., `tags:: #Personal`?

We need to know where and when the issue breaks your workflow.

---

<div class="post-metadata">

**Author:** ![ariehen](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ariehen/32/46932_2.png) [@ariehen](https://forum.obsidian.md/u/ariehen)\
**Post date:** [August 2, 2023, 3:27pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/7 "2023-08-02T15:27:36Z")

</div>

I think they want to revert to live preview pre v1.4.x YAML/frontmatter/metadata display. Or maybe not?

---

<div class="post-metadata">

**Author:** ![ironhak](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/i/b77776/32.png) [@ironhak](https://forum.obsidian.md/u/ironhak)\
**Post date:** [August 2, 2023, 6:01pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/8 "2023-08-02T18:01:51Z")

</div>

@ariehen Obsidian settings:

- Use YAML frontmatter instead of property — on/off.

Easy as that.

---

<div class="post-metadata">

**Author:** ![DJP](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/bbe5ce/32.png) [@DJP](https://forum.obsidian.md/u/DJP)\
**Post date:** [August 2, 2023, 6:06pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/9 "2023-08-02T18:06:36Z")

</div>

It is in the YAML section - in between the three dashes.

* * *

Tags: #Personal

* * *

If switch to Source mode, the checkboxes don’t work.

---

<div class="post-metadata">

**Author:** ![anon63144152](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/a698b9/32.png) [@anon63144152](https://forum.obsidian.md/u/anon63144152)\
**Post date:** [August 2, 2023, 6:11pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/10 "2023-08-02T18:11:18Z")

</div>

In YAML headers, tags don’t use the hash (#) symbol.

> **[Metadata - Obsidian Help](https://help.obsidian.md/Editing+and+formatting/Metadata)**
>
> While most of the text in a note is meant to be read by a human, metadata is text that's meant to be easily readable by a program, for example a community plugin or Obsidian itself. You can add metad…

So a syntax mismatch?

> **[Tags - Obsidian Help](https://help.obsidian.md/Editing+and+formatting/Tags)**
>
> Tags are keywords or topics that help you quickly find the notes you want. Add a tag to a note To create a tag, enter a hashtag symbol (#) in the editor, followed by a keyword. For example, #meeting.…

---

<div class="post-metadata">

**Author:** ![DJP](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/bbe5ce/32.png) [@DJP](https://forum.obsidian.md/u/DJP)\
**Post date:** [August 2, 2023, 6:11pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/11 "2023-08-02T18:11:57Z")

</div>

Which is where exactly? I have turned off Properties. I did a search for this and can’t find it.

---

<div class="post-metadata">

**Author:** ![DJP](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/bbe5ce/32.png) [@DJP](https://forum.obsidian.md/u/DJP)\
**Post date:** [August 2, 2023, 6:13pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/12 "2023-08-02T18:13:31Z")

</div>

Well, it used to work - and when importing notes from other apps, it was really helpful to not have to edit them. And [Tags - Obsidian Help](https://help.obsidian.md/Editing+and+formatting/Tags) does show hashtags at the bottom of the page being used.

---

<div class="post-metadata">

**Author:** ![anon63144152](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/a698b9/32.png) [@anon63144152](https://forum.obsidian.md/u/anon63144152)\
**Post date:** [August 2, 2023, 6:16pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/13 "2023-08-02T18:16:04Z")

</div>

Haven’t used 1.4.x but believe it is set up to nurture metadata integrity.

And, yes, hashes can be used in the body of notes. They aren’t meant to be used in YAML headers.

If it helps, the hash is [used in YAML](https://yaml.org/spec/1.2.2/) to denote a comment:

 ![yaml hash comments](https://forum.obsidian.md/uploads/default/original/3X/3/1/31e30680a1e3b4a9597f19b076ccc76455aace34.jpeg)

---

<div class="post-metadata">

**Author:** ![mr\_abomination](https://forum.obsidian.md/user_avatar/forum.obsidian.md/mr_abomination/32/27118_2.png) [@mr\_abomination](https://forum.obsidian.md/u/mr_abomination)\
**Post date:** [August 2, 2023, 6:28pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/14 "2023-08-02T18:28:25Z")

</div>

If you’re saying your layout is like the following:

```yaml
---
Tags: #Personal
---

```

Then you actually have invalid YAML. The `#` character denotes a comment, so none of the tags for your notes are actually applied.

---

<div class="post-metadata">

**Author:** ![ironhak](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/i/b77776/32.png) [@ironhak](https://forum.obsidian.md/u/ironhak)\
**Post date:** [August 2, 2023, 6:30pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/15 "2023-08-02T18:30:33Z")

</div>

Of course you don’t find it, they have not implemented that option.  
Mine was just a suggestion for the developers, sorry to illude you 😅

---

<div class="post-metadata">

**Author:** ![RoyRogers](https://forum.obsidian.md/user_avatar/forum.obsidian.md/royrogers/32/22681_2.png) [@RoyRogers](https://forum.obsidian.md/u/RoyRogers)\
**Post date:** [August 2, 2023, 6:33pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/16 "2023-08-02T18:33:42Z")

</div>

Tags in Properties (and, therefore in YAML) do not require the hashmark. Just use

`tags: Personal`

---

<div class="post-metadata">

**Author:** ![DJP](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/bbe5ce/32.png) [@DJP](https://forum.obsidian.md/u/DJP)\
**Post date:** [August 2, 2023, 7:19pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/17 "2023-08-02T19:19:26Z")

</div>

Thanks for the help. Will drop the hashtag going forward. However, Evernote export (using Evernote export, and Obsidian Evernote plugin) uses the hashtag in the YAML section. So apparently it is somewhat standard procedure.

---

<div class="post-metadata">

**Author:** ![DJP](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/bbe5ce/32.png) [@DJP](https://forum.obsidian.md/u/DJP)\
**Post date:** [August 2, 2023, 7:19pm UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/18 "2023-08-02T19:19:51Z")

</div>

Got it - apologies. Good idea though.

---

<div class="post-metadata">

**Author:** ![anon63144152](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/a698b9/32.png) [@anon63144152](https://forum.obsidian.md/u/anon63144152)\
**Post date:** [August 3, 2023, 6:26am UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/19 "2023-08-03T06:26:40Z")

</div>

Hello.

Don’t know about Evernote.

Hashes are allowed in YAML as comment indicators. In the image below, you can see that `#hash` in the YAML is not recognized as a tag (because it is a comment), so it is not read in queries (see the example `q1 hash`). The `#yesahash` tag in the body can be queried.

 ![hash in yaml](https://forum.obsidian.md/uploads/default/original/3X/3/5/353bb2de80fdd4fa87c0ff620a5d6b5570027fba.jpeg)

````auto
---
date: 2023-08-03
tags: nohash, #hash, 
# End of sample YAML
---

#yesahash

# q1 nohash

```dataview 
Table
FROM #nohash
Where file.name = this.file.name
```

# q1 hash

```dataview 
Table
FROM #hash
Where file.name = this.file.name
```

# q1 yesahash

```dataview 
Table
FROM #yesahash
Where file.name = this.file.name
```

````

---

<div class="post-metadata">

**Author:** ![DJP](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/bbe5ce/32.png) [@DJP](https://forum.obsidian.md/u/DJP)\
**Post date:** [August 7, 2023, 12:52am UTC](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310/21 "2023-08-07T00:52:17Z")

</div>

Thanks for the explanation - appreciated.

[Next page](https://forum.obsidian.md/t/turn-off-new-yaml-1-4/64310.md?page=2)
