Skip to content
Guia de Finanças PessoaisGuia de Finanças Pessoais
O Guia
github icon
  • O Guia

    • Proteção

    Markdown Enhance

    calendar iconApril 28, 2022category icon
    • Guia
    tag icon
    • markdown
    timer iconPor volta de 2 min

    On This Page
    • Markdown introduction
    • VuePress Enhancement
    • Theme Enhancement
      • Enable all
    • New Feature
      • Custom Container
      • CodeGroup
      • Superscript and Subscript
      • Align
      • Footnote
      • Mark
      • Tasklist
      • Chart
      • Flowchart
      • Mermaid
      • Tex
      • Code Demo
      • Presentation

    Every document page in VuePress is rendered by Markdown.

    You need to build your document or blog page by creating and writing Markdown in the corresponding path.

    # Markdown introduction

    If you are a new learner and don’t know how to write Markdown, please read Markdown Introopen in new window and Markdown Demoopen in new window.

    Frontmatter

    Frontmatter is a important concept in VuePress. If you don’t know it, you need to read Frontmatter Introductionopen in new window.

    # VuePress Enhancement

    To enrich document writing, VuePress has extended Markdown syntax.

    For these extensions, please read Markdown extensions in VuePressopen in new window.

    # Theme Enhancement

    # Enable all

    You can set themeconfig.plugins.htmlEnhance.enableAll to enable all features of the md-enhanceopen in new window plugin.

    module.exports = {
      themeConfig: {
        plugins: {
          mdEnhance: {
            enableAll: true,
          },
        },
      },
    };
    


     
     
     




    1
    2
    3
    4
    5
    6
    7
    8
    9

    # New Feature

    # Custom Container

    Safely use {{ variable }} in markdown.

    Custom Title

    A custom information container with code, link.

    const a = 1;
    
    1

    Custom Title

    A custom tip container

    Custom Title

    A custom warning container

    Custom Title

    A custom danger container

    Custom Title

    A custom details container

    Code
    ::: v-pre
    
    Safely use {{ variable }} in markdown.
    
    :::
    
    ::: info Custom Title
    
    A custom information container
    
    :::
    
    ::: tip Custom Title
    
    A custom tip container
    
    :::
    
    ::: warning Custom Title
    
    A custom warning container
    
    :::
    
    ::: danger Custom Title
    
    A custom danger container
    
    :::
    
    ::: details Custom Title
    
    A custom details container
    
    :::
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35

    # CodeGroup

    yarn add -D vuepress-theme-hope
    
    1
    npm i -D vuepress-theme-hope
    
    1
    • View Detailopen in new window

    # Superscript and Subscript

    19th H2O

    • View Detailopen in new window

    # Align

    I am center

    I am right align

    • View Detailopen in new window

    # Footnote

    This text has footnote[1].

    • View Detailopen in new window

    # Mark

    You can mark important words .

    • View Detailopen in new window

    # Tasklist

    • View Detailopen in new window

    # Chart

    A Scatter Chart
    • View Detail

    # Flowchart

    • View Detailopen in new window

    # Mermaid

    loading icon
    • View Detailopen in new window

    # Tex

    ∂r∂ωr(yωω)=(yωω){(log⁡y)r+∑i=1r(−1)ir⋯(r−i+1)(log⁡y)r−iωi}\frac {\partial^r} {\partial \omega^r} \left(\frac {y^{\omega}} {\omega}\right) = \left(\frac {y^{\omega}} {\omega}\right) \left\{(\log y)^r + \sum_{i=1}^r \frac {(-1)^i r \cdots (r-i+1) (\log y)^{r-i}} {\omega^i} \right\} ∂ωr∂r​(ωyω​)=(ωyω​){(logy)r+i=1∑r​ωi(−1)ir⋯(r−i+1)(logy)r−i​}

    • View Detailopen in new window

    # Code Demo

    <h1>VuePress Theme Hope</h1>
    <p>Is <span id="very">very</span> powerful!</p>
    
    1
    2
    document.querySelector("#very").addEventListener("click", () => {
      alert("Very powerful!");
    });
    
    1
    2
    3
    span {
      color: red;
    }
    
    1
    2
    3
    A normal demo
    • View Detailopen in new window

    # Presentation

    • View Detailopen in new window

    1. This is footnote content ↩︎

    edit iconEditar esta páginaopen in new window
    Última atualização: 28/04/2022, 22:00:27
    Contribuidores: Lereno