feat: improve configuration (#245)
* feat: improve configuration * fix: fix partials/footer.html error
This commit is contained in:
@@ -1,38 +1,20 @@
|
||||
---
|
||||
weight: 4
|
||||
title: "Thème Documentation - Extended Shortcodes"
|
||||
subtitle: ""
|
||||
date: 2020-03-03T16:29:59+08:00
|
||||
lastmod: 2020-03-03T16:29:59+08:00
|
||||
draft: false
|
||||
author: "Dillon"
|
||||
authorLink: "https://dillonzq.com"
|
||||
description: "Le thème LoveIt fournit plusieurs shortcodes en plus de ceux intégrés dans Hugo."
|
||||
license: ""
|
||||
|
||||
tags: ["shortcodes"]
|
||||
categories: ["documentation"]
|
||||
hiddenFromHomePage: false
|
||||
|
||||
featuredImage: "/images/theme-documentation-extended-shortcodes/featured-image.jpg"
|
||||
featuredImagePreview: "/images/theme-documentation-extended-shortcodes/featured-image-preview.jpg"
|
||||
|
||||
toc: true
|
||||
autoCollapseToc: true
|
||||
math: false
|
||||
mapbox:
|
||||
accessToken: ""
|
||||
lightStyle: ""
|
||||
darkStyle: ""
|
||||
navigation: true
|
||||
geolocate: true
|
||||
scale: true
|
||||
fullscreen: true
|
||||
lightgallery: true
|
||||
linkToMarkdown: true
|
||||
share:
|
||||
enable: true
|
||||
comment: true
|
||||
---
|
||||
|
||||
Le thème **LoveIt** fournit plusieurs shortcodes en plus de ceux intégrés dans Hugo.
|
||||
@@ -44,7 +26,7 @@ Sorry, this article has not been completely translated into **French**.
|
||||
Welcome to take the time to propose a translation by [making a PR](https://github.com/dillonzq/LoveIt/pulls) to the theme!
|
||||
{{< /admonition >}}
|
||||
|
||||
## `style`
|
||||
## style
|
||||
|
||||
`style` is a shortcode to insert custom style in your post.
|
||||
|
||||
@@ -68,7 +50,7 @@ The rendered output looks like this:
|
||||
This is a right-aligned paragraph.
|
||||
{{< /style >}}
|
||||
|
||||
## `link`
|
||||
## link
|
||||
|
||||
{{< version 0.2.0 >}}
|
||||
|
||||
@@ -132,7 +114,7 @@ The rendered output looks like this (hover over the link, there should be a tool
|
||||
|
||||
{{< link "https://github.com/upstage/" Upstage "Visit Upstage!" >}}
|
||||
|
||||
## `image`
|
||||
## image
|
||||
|
||||
{{< version 0.2.0 changed >}}
|
||||
|
||||
@@ -202,7 +184,7 @@ The rendered output looks like this:
|
||||
|
||||
{{< image src="/images/theme-documentation-extended-shortcodes/lighthouse.jpg" caption="Lighthouse (`image`)" src-s="/images/theme-documentation-extended-shortcodes/lighthouse-small.jpg" src-l="/images/theme-documentation-extended-shortcodes/lighthouse-large.jpg" >}}
|
||||
|
||||
## `admonition`
|
||||
## admonition
|
||||
|
||||
The `admonition` shortcode supports **12** types of banners to help you put notice in your page.
|
||||
|
||||
@@ -288,7 +270,7 @@ The rendered output looks like this:
|
||||
A **tip** banner
|
||||
{{< /admonition >}}
|
||||
|
||||
## `mermaid`
|
||||
## mermaid
|
||||
|
||||
[mermaid](https://mermaidjs.github.io/) is a library helping you to generate diagram and flowcharts from text, in a similar manner as Markdown.
|
||||
|
||||
@@ -536,7 +518,7 @@ pie
|
||||
"Rats" : 15
|
||||
{{< /mermaid >}}
|
||||
|
||||
## `echarts`
|
||||
## echarts
|
||||
|
||||
[ECharts](https://echarts.apache.org/) is a library helping you to generate interactive data visualization.
|
||||
|
||||
@@ -924,7 +906,7 @@ The `echarts` shortcode has also the following named parameters:
|
||||
|
||||
{{< version 0.2.0 >}} Height of the data visualization, default value is `30rem`.
|
||||
|
||||
## `mapbox`
|
||||
## mapbox
|
||||
|
||||
{{< version 0.2.0 >}}
|
||||
|
||||
@@ -998,7 +980,7 @@ The rendered output looks like this:
|
||||
|
||||
{{< mapbox -122.252 37.453 10 false "mapbox://styles/mapbox/navigation-preview-day-v4?optimize=true" "mapbox://styles/mapbox/navigation-preview-night-v4?optimize=true" >}}
|
||||
|
||||
## `music`
|
||||
## music
|
||||
|
||||
The `music` shortcode embeds a responsive music player based on [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS).
|
||||
|
||||
@@ -1137,7 +1119,7 @@ The `music` shortcode has the following named parameters only applying to the ty
|
||||
|
||||
Max height of the music list, default value is `340px`.
|
||||
|
||||
## `bilibili`
|
||||
## bilibili
|
||||
|
||||
{{< version 0.2.0 changed >}}
|
||||
|
||||
@@ -1180,7 +1162,7 @@ The rendered output looks like this:
|
||||
|
||||
{{< bilibili id=BV1TJ411C7An p=3 >}}
|
||||
|
||||
## `typeit`
|
||||
## typeit
|
||||
|
||||
The `typeit` shortcode provides typing animation based on [TypeIt](https://typeitjs.com/).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user