docs: use front matter to enable table of contents

This commit is contained in:
Hans Pagel 2021-08-24 11:24:10 +02:00
parent b575e83bd0
commit 0dd924e69d
38 changed files with 134 additions and 2 deletions

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Commands
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Editor
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Events
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Extensions
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Keyboard Shortcuts
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Marks
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Nodes
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Schema
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Changelog
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Collaborative editing
:::pro Commercial use

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Accessibility
:::pro Fund the development ♥

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Collaborative editing
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Configuration
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Custom extensions
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Overwrite & extend
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Create menus
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Interactive node views
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Examples
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Node views with JavaScript
## toc
@ -119,5 +123,3 @@ Got it? Youre free to do anything you like, as long as you return a container
<demo name="Guide/NodeViews/JavaScriptContent" />
Keep in mind that this content is rendered by tiptap. That means you need to tell what kind of content is allowed, for example with `content: 'inline*'` in your node extension (thats what we use in the above example).

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Node views with React
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Node views with Vue
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Output
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Styling
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Working with TypeScript
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Impressum
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Installation
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
---
title: Alpine WYSIWYG
---

View File

@ -1,5 +1,6 @@
---
title: Livewire WYSIWYG
tableOfContents: true
---
# Livewire

View File

@ -1,5 +1,6 @@
---
title: Nuxt.js WYSIWYG
tableOfContents: true
---
# Nuxt.js

View File

@ -1,5 +1,6 @@
---
title: React WYSIWYG
tableOfContents: true
---
# React

View File

@ -1,5 +1,6 @@
---
title: Svelte WYSIWYG
tableOfContents: true
---
# Svelte

View File

@ -1,5 +1,6 @@
---
title: Vue.js 2 WYSIWYG
tableOfContents: true
---
# Vue.js 2

View File

@ -1,5 +1,6 @@
---
title: Vue.js 3 WYSIWYG
tableOfContents: true
---
# Vue.js 3

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Introduction
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Contributing
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Upgrade Guide
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# Privacy Policy
## toc

View File

@ -1,3 +1,7 @@
---
tableOfContents: true
---
# About the project
## toc