TWCC
    • Sharing Link copied
    • /edit
    • View mode
      • Edit mode
      • View mode
      • Book mode
      • Slide mode
      Edit mode View mode Book mode Slide mode
    • Note Permission
    • Read
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • Write
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • More (Comment, Invitee)
    • Publishing
    • Commenting Enable
      Disabled Forbidden Owners Signed-in users Everyone
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Invitee
    • No invitee
    • Options
    • Versions and GitLab Sync
    • Transfer ownership
    • Delete this note
    • Template
    • Save as template
    • Insert from template
    • Export
    • Google Drive Export to Google Drive
    • Import
    • Google Drive Import from Google Drive
    • Gist
    • Clipboard
    • Download
    • Markdown
    • HTML
    • Raw HTML
Menu Sharing Help
Menu
Options
Versions and GitLab Sync Transfer ownership Delete this note
Export
Google Drive Export to Google Drive
Import
Google Drive Import from Google Drive Gist Clipboard
Download
Markdown HTML Raw HTML
Back
Sharing
Sharing Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
More (Comment, Invitee)
Publishing
More (Comment, Invitee)
Commenting Enable
Disabled Forbidden Owners Signed-in users Everyone
Permission
Owners
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Invitee
No invitee
   owned this note    owned this note      
Published Linked with GitLab
Like BookmarkBookmarked
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
--- robots: index, follow lang: en dir: ltr breaks: true --- Supported YAML metadata === First you need to insert syntax like this at the **start** of the note: ``` --- YAML metas --- ``` Replace the "YAML metas" in this section with any YAML options as below. You can also refer to this note's source code. title --- This option will set the note title which prior than content title. > default: not set **Example** ```xml title: meta title ``` description --- This option will set the note description. > default: not set **Example** ```xml description: meta description ``` image --- This option will set the note default image (for link preview). > default: \<HackMD default card image\> **Example** ```xml image: https://hackmd.io/screenshot.png ``` tags --- This option will set the tags which prior than content tags. > default: not set **Example** ```xml tags: features, cool, updated ``` robots --- This option will give below meta in the note head meta: ```xml <meta name="robots" content="your_meta"> ``` So you can prevent any search engine index your note by set `noindex, nofollow`. > default: not set **Example** ```xml robots: noindex, nofollow ``` lang --- This option will set the language of the note, that might alter some typography of it. You can find your the language code in ISO 639-1 standard: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes > default: not set (which will be en) **Example** ```xml lang: ja-jp ``` dir --- This option provide to describe the direction of the text in this note. You can only use whether `rtl` or `ltr`. Look more at here: http://www.w3.org/International/questions/qa-html-dir > default: not set (which will be ltr) **Example** ```xml dir: rtl ``` breaks --- This option means the hardbreaks in the note will be parsed or be ignore. The original markdown syntax breaks only if you put space twice, but HackMD choose to breaks every time you enter a break. You can only use whether `true` or `false`. > default: not set (which will be true) **Example** ```xml breaks: false ``` GA --- This option allow you to enable Google Analytics with your ID. > default: not set (which won't enable) **Example** ```xml GA: UA-12345667-8 ``` disqus --- This option allow you to enable Disqus with your shortname. > default: not set (which won't enable) **Example** ```xml disqus: hackmd ``` slideOptions --- This option allows you provide custom options to slide mode. Please below document for more details: https://github.com/hakimel/reveal.js/#configuration You could also set slide theme which named in below css files: https://github.com/hakimel/reveal.js/tree/master/css/theme **Notice: always use two spaces as indention in YAML metadata!** > default: not set (which use default slide options) **Example** ```xml slideOptions: transition: fade theme: white ``` lintConfig --- This option allows you to customize [markdownlint](https://github.com/DavidAnson/markdownlint). You can find the details at [.markdownlint.yaml](https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.yaml)。 :::warning :bulb: Always use two spaces as indention in YAML metadata! ::: ### Example ~~~md --- lintConfig: MD004: style: "consistent" MD006: false --- # Your other markdown content ~~~

Import from clipboard

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lost their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.


Upgrade

All
  • All
  • Team
No template.

Create a template


Upgrade

Delete template

Do you really want to delete this template?

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Sign in via SAML

Help

  • English
  • 中文
  • 日本語

Documents

Tutorials

Book Mode Tutorial

Slide Example

YAML Metadata

Resources

Releases

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions

Versions and GitLab Sync

Sign in to link this note to GitLab Learn more
This note is not linked with GitLab Learn more
 
Add badge Pull Push GitLab Link Settings
Upgrade now

Version named by    

More Less
  • Edit
  • Delete

Note content is identical to the latest version.
Compare with
    Choose a version
    No search result
    Version not found

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitLab

      Please authorize HackMD on GitLab

      Please sign in to GitLab and authorize HackMD to access your projects. Learn more

       Sign in to GitLab

      Push the note to GitLab Push to GitLab Pull a file from GitLab

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Available push count

      Upgrade

      Pull from GitLab

       
      File from GitLab
      File from HackMD

      GitLab Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Upgrade

      Danger Zone

      Unlink
      You will no longer receive notification when GitLab file changes after unlink.

      Syncing

      Push failed

      Push successfully