From 49c0aeef5ca8c106db514344649c3800efeae011 Mon Sep 17 00:00:00 2001 From: Daniel Kantor Date: Sun, 20 Feb 2022 12:34:39 +0100 Subject: [PATCH] Change name in cli (#6) * fix: change name of the command in cli.js * docs: document planned features --- README.md | 14 ++++++++++++++ cli.js | 8 ++++---- decks/hello.mdx | 10 +++++++++- 3 files changed, 27 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1a8ec2e..805d530 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,17 @@ 🌱 🎥 Markdown presentations using your webcam + +## Planned features + +* "Green screen" support + - Blur background + - Use and image as background + - Use different background settings in each slide +* Multi-camera support + - Switch camera with hotkeys + - Associate different cameras/camera angles with different slides +* Virtual webcam support + - Use your presentation as a virtual camera in order to allow working with other software +* Draw on your screen using your fingers +* Share a window from your screen in order to do live demonstrations or live coding diff --git a/cli.js b/cli.js index 5a9f7d2..4d44483 100755 --- a/cli.js +++ b/cli.js @@ -8,7 +8,7 @@ const fs = require('fs-extra') const pkg = require('./package.json') const log = (...args) => { - console.log(chalk.green('[mdx-deck]'), ...args) + console.log(chalk.green('[zoetic]'), ...args) } log.error = (...args) => { console.log(chalk.red('[err]'), ...args) @@ -18,9 +18,9 @@ const cli = meow( ` ${chalk.gray('Usage')} - $ ${chalk.green('mdx-deck deck.mdx')} + $ ${chalk.green('zoetic deck.mdx')} - $ ${chalk.green('mdx-deck build deck.mdx')} + $ ${chalk.green('zoetic build deck.mdx')} ${chalk.gray('Options')} @@ -30,7 +30,7 @@ const cli = meow( `, { - description: chalk.green('@mdx-deck/lite ') + chalk.gray(pkg.description), + description: chalk.green('@zoetic/zoetic ') + chalk.gray(pkg.description), flags: { port: { type: 'string', diff --git a/decks/hello.mdx b/decks/hello.mdx index 5eb9dde..dd13f64 100644 --- a/decks/hello.mdx +++ b/decks/hello.mdx @@ -1,4 +1,10 @@ -# Hello world! +import { Box } from 'theme-ui' +import { book } from '@mdx-deck/themes' + +export const theme = book + +# zoetic +### present Markdown slides with your webcam --- @@ -11,3 +17,5 @@ * baz --- + +Hello