You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prior to this change, all of the links in the Markdown documents were
inline links. This could make parsing paragraphs difficult and meant in
some cases that links were repeated, requiring them to be updated in
multiple places if the URLs changed in the future.
This change migrates the markdown link syntax to reference link syntax,
placing the reference link definitions at the bottom of each file. It
uses a two-digit order-of-appearance numbering, where links are defined
as `[foo][01]` and `[bar][02]`. This limits the space used by the link
references while also allowing reuse.
A possible alternative would be to leave the image links as inline, but
this change standardizes the links across every file and link type.
While this change was performed manually, it should be possible in the
future to use a scripted action or the continually improving options to
[extract link definitions][01] and [organize link definitions][02] in
the Markdown support for VS Code.
[01]: https://code.visualstudio.com/updates/v1_72#_extract-to-link-definition-for-markdown
[02]: https://code.visualstudio.com/updates/v1_72#_organize-link-definitions-in-markdown
Copy file name to clipboardExpand all lines: README.md
+11-7
Original file line number
Diff line number
Diff line change
@@ -2,23 +2,27 @@
2
2
3
3
This is the Front Matter its documentation respository.
4
4
5
-

5
+
![Banner view of Front Matter, showing the extension with the a heading that reads "Headless CMD running in VS Code"][01]
6
6
7
7
## Main documentation
8
8
9
-
The documentation of the main Front Matter version can be found at
10
-
[frontmatter.codes](https://frontmatter.codes).
9
+
The documentation of the main Front Matter version can be found at [frontmatter.codes][02].
11
10
12
11
## BETA docs
13
12
14
-
The documentation of the BETA Front Matter version can be found at
|`fields`|`array`| Check the [supported field types](/docs/content-creation/fields#supported-field-types)|`[]`|
123
-
|`fileType`| Enum: `md, mdx, markdown, <your choice>`| File type of for the content type you define. The type will be used to create the file when creating content. |`md`|
124
-
|`pageBundle`|`boolean`| If set to `true`, the content will be created as a page bundle (folder). |`false`|
125
-
|`previewPath`|`string`| Defines a custom preview path for the content type. When the preview path is not set, the value from the [frontMatter.preview.pathName](https://frontmatter.codes/docs/settings#frontmatter.preview.pathname) setting will be used. |`null`|
126
-
|`template`|`string`| Specify a path to a template file that will be used when creating new content with the content type. |`null`|
127
-
|`postScript`|`string`| An optional post script that can be used after new content creation. In order to use this, you will have to set the value to the ID of your [content script](/docs/custom-actions/#content-script). |`null`|
|`fields`|`array`| Check the [supported field types][02]|`[]`|
123
+
|`fileType`| Enum: `md, mdx, markdown, <your choice>`| File type of for the content type you define. The type will be used to create the file when creating content. |`md`|
124
+
|`pageBundle`|`boolean`| If set to `true`, the content will be created as a page bundle (folder). |`false`|
125
+
|`previewPath`|`string`| Defines a custom preview path for the content type. When the preview path is not set, the value from the [frontMatter.preview.pathName][03] setting will be used. |`null`|
126
+
|`template`|`string`| Specify a path to a template file that will be used when creating new content with the content type. |`null`|
127
+
|`postScript`|`string`| An optional post script that can be used after new content creation. In order to use this, you will have to set the value to the ID of your [content script][04].|`null`|
128
128
129
129
## Define your own type
130
130
@@ -175,8 +175,7 @@ type: documentation
175
175
---
176
176
```
177
177
178
-
> **Fields**: Check out the [fields](/docs/content-creation/fields) section to learn which fields
179
-
> are supported.
178
+
> **Fields**: Check out the [fields][05] section to learn which fields are supported.
180
179
181
180
## Using a template with the content type
182
181
@@ -234,4 +233,12 @@ In your custom script setting, you need to make sure that this script is availab
234
233
```
235
234
236
235
> **Info**: More information about custom scripts can be found in the
|`name`|`string`| The name of your field, will be used to set in the front matter of your Markdown file. |**Required**|
45
-
|`type`|`string`| The type of the field. Use one of the supported field types. |**Required**|
46
-
|`title`|`string`| The title to show in the metadata section |_Optional_|
47
-
|`description`|`string`| The description to show underneath the field |_Optional_|
48
-
|`default`|`string`| Defines the default value for the field when creating the content type. You can also use placeholders like `{{title}}`, `{{slug}}` or `{{now}}`. Check for more information under [placeholders](/docs/content-creation/placeholders). |_Optional_|
49
-
|`required`|`boolean`| Defines if the field is required or not. If set to true, and the user does not define a value, a notification will appear. You can disable this notification with the [frontMatter.global.disabledNotifications](/docs/settings#frontmatter.global.disablednotifications) setting. |_Optional_|
50
-
|`hidden`|`boolean`| Specifies if you want to hide the field from the metadata section, but still have it available in Front Matter. |_Optional_|
|`name`|`string`| The name of your field, will be used to set in the front matter of your Markdown file. |**Required**|
45
+
|`type`|`string`| The type of the field. Use one of the supported field types. |**Required**|
46
+
|`title`|`string`| The title to show in the metadata section |_Optional_|
47
+
|`description`|`string`| The description to show underneath the field |_Optional_|
48
+
|`default`|`string`| Defines the default value for the field when creating the content type. You can also use placeholders like `{{title}}`, `{{slug}}` or `{{now}}`. Check for more information under [placeholders][01].|_Optional_|
49
+
|`required`|`boolean`| Defines if the field is required or not. If set to true, and the user does not define a value, a notification will appear. You can disable this notification with the [frontMatter.global.disabledNotifications][02] setting. |_Optional_|
50
+
|`hidden`|`boolean`| Specifies if you want to hide the field from the metadata section, but still have it available in Front Matter. |_Optional_|
51
51
52
52
## String
53
53
@@ -61,7 +61,7 @@ use if for the title, description, or any other text field.
61
61
-`wysiwyg (boolean)`: When you set this value to `true`, the field will be rendered as a WYSIWYG
62
62
editor. The output of the WYSIWYG editor will be HTML.
0 commit comments