Although you can start writing as soon as you create the note, it is recommended that you give the note a title to make it easier to find in the future. # Add or edit the title :::info :bulb: The default title is "Untitled" and HackMD will automatically use the first 30 characters as the title, which might remind you what the note is about. ::: ### 1. Click the navigation bar To add or edit the note title, just click on the title on the navigation bar. ![](https://hackmd.io/_uploads/rJEAoak3n.gif) ### 2. Edit title with note setting Or you can click on the <i class="fa fa-info-circle" aria-hidden="true"></i> icon, which brings up **Note settings**. ![](https://hackmd.io/_uploads/BJ168u132.gif =600x) ### 3. Edit title with YAML metadata The YAML meta setting will be placed at the top of the note. The gray area below is an example of YAML meta settings for the note. Wrap `title: ` with three ``-`` above and below, and remember to add a space after the colon before typing your desired title. ``` --- title: This is YAML meta and the string will become title of this note --- ``` When editing notes, if you need to save or update the title in the YAML metadata, simply use the shortcut <kbd>Ctrl</kbd> + <kbd>S</kbd> (Windows) or <kbd>Command</kbd> + <kbd>S</kbd> (macOS), and the title text of the current note will be automatically updated! # Add or remove tags ## Add tags 1. Click the tag icon to bring up the tag menu. ![](https://hackmd.io/_uploads/By2IhVt-A.png =70%x) 2. Or, click on the <i class="fa fa-info-circle" aria-hidden="true"></i> icon on the navigation bar, which brings up Note settings. ![](https://hackmd.io/_uploads/rk0eANK-A.png) The tags in the notes in this workspace are ready to be applied. - Add them by clicking on the tag (again to remove). - You may want to drag a tag to change its order. - Hold <kbd>Cmd</kbd> or <kbd>Ctrl</kbd> to select or remove multiple tags. ## Create new tags When there is no tag in the workspace, then there may be no ready tag in the menu. - If you'd like to create new tags, just type anything and press <kbd>Enter</kbd> / <kbd>Return</kbd> to create a tag - Press <kbd>Esc</kbd> or click other areas of the editor to exit the tag menu. | Press `Enter` to create tags | Spaces, dash, and emoji are supported in tags | | -------- | -------- | | ![](https://hackmd.io/_uploads/S1x-6sK3Ph.png =300x) | ![](https://hackmd.io/_uploads/rJwXpYhv3.png =400x)| ## Remove tags Removing tags removes them from the current note and does not affect other notes with the same tags. - Click the <i class="fa fa-times" aria-hidden="true"></i> to remove tags. - Press <kbd>Backspace</kbd> to remove the last tag. ![](https://hackmd.io/_uploads/B1W7umaw2.png) ## Show or hide tags in View mode 1. Open Note settings here ![](https://hackmd.io/_uploads/SkBWkognh.png) 2. Turn on "Show tags in view mode"![](https://hackmd.io/_uploads/r1sYAqeh3.png) 3. Tags are shown in View mode![](https://hackmd.io/_uploads/rJ8VC9l22.png)