JSPM

slidev-theme-vatisv2

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q10239F

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (slidev-theme-vatisv2) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    slidev-theme-vatisv2

    NPM version

    A Normal theme for Slidev.

    Install

    Add the following frontmatter to your slides.md. Start Slidev then it will prompt you to install the theme automatically.

    ---
    theme: vatisv2
    ---

    Learn more about how to use a theme.

    Layouts

    This theme provides the following layouts:

    • Cover
    • Contents
    • default
    • end

    具体效果参见 example.pdfexample.md

    Contents为目录页,为自动生成的页面。只需在扉页填写好 sections 字段,并在需要的地方插入:

    ---
    layout: contents
    ---
    
    ---

    即可。

    end为结束的致谢页面,其中此页的一级标题会放大居中,如有其他紧随其后的内容会往下居中放置。

    在默认页面中会有页面指示器,这依赖于扉页的sections 字段:

    sections: 
      - [研究背景,3]
      - [研究内容,4]
      - [技术路线,5]

    其中的每一条为一个section的标志,每一条写作一个列表,列表的第一个内容为section的名称,第二个内容为相应的起始页码。

    Components

    This theme provides the following components:

    TODO:

    Contributing

    • npm install
    • npm run dev to start theme preview of example.md
    • Edit the example.md and style to see the changes
    • npm run export to generate the preview PDF
    • npm run screenshot to generate the preview PNG