diff --git a/docs/components/Docs/Markdown.tsx b/docs/components/Docs/Markdown.tsx index 78dbc3c4..35192cdd 100644 --- a/docs/components/Docs/Markdown.tsx +++ b/docs/components/Docs/Markdown.tsx @@ -9,9 +9,6 @@ export interface IMarkdownProps { } export const Markdown: React.FunctionComponent = ({content}: React.PropsWithChildren) => { - if (!content) { - return null; - } const getTitle = (props: any) => { const title = props?.children.length > 0 ? `${props?.children[0] as string}` : ""; @@ -32,6 +29,10 @@ export const Markdown: React.FunctionComponent = ({content}: Rea } } }, ['']); + + if (!content) { + return null; + } return (
diff --git a/docs/components/Docs/PageInfo.tsx b/docs/components/Docs/PageInfo.tsx index b201563f..af5d4c04 100644 --- a/docs/components/Docs/PageInfo.tsx +++ b/docs/components/Docs/PageInfo.tsx @@ -26,7 +26,7 @@ export const PageInfo: React.FunctionComponent = ({page}: React. }
-

Did you spot an issue in our documentation, or want to contribute? Edit this page on Github!

+

Did you spot an issue in our documentation, or want to contribute? Edit this page on Github!

); diff --git a/docs/content/changelog/CHANGELOG.md b/docs/content/changelog/CHANGELOG.md index f4ddd273..0bbebf5a 100644 --- a/docs/content/changelog/CHANGELOG.md +++ b/docs/content/changelog/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## [3.0.2] - 2021-08-31 + +- [#82](https://github.com/estruyf/vscode-front-matter/issues/82): Hide the register and unregister commands from the command palette + ## [3.0.1] - 2021-08-30 - [#79](https://github.com/estruyf/vscode-front-matter/issues/79): Fix scrollbar not visible on the welcome screen