JSPM

slidev-theme-frankfurt

1.0.8
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 22
  • Score
    100M100P100Q72887F
  • License MIT

A theme for Slidev, inspired by the Frankfurt theme in Beamer.

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-frankfurt) 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-frankfurt

    NPM version

    A theme for Slidev, inspired by the Frankfurt theme in Beamer, well-suited for academic talks.

    Install

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

    ---
    theme: frankfurt
    infoLine: true # on by default, can be turned off
    author: 'Your name here' # shows in infoLine
    title: 'Title' # shows in infoLine
    date: '2023/01/01' # shows in infoLine, defaults to the current date
    ---

    Learn more about how to use a theme.

    Using sections

    The main feature of Frankfurt theme is the section and progress indicators on top. To divide your slides into sections, add the following frontmatter to the first page of each section:

    ---
    section: 'Section title'
    ---

    Components

    This theme provides the following component:

    <Item title="Title of your thing">
        Create a box for definitions, lemmas, theorems, etc.
    </Item>

    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