UNPKG

@devbookhq/docusaurus-code-video-plugin

Version:

Add a video to a Docusaurus code block and highlight code lines as the video plays.

17 lines (16 loc) 528 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const path_1 = tslib_1.__importDefault(require("path")); function themeLiveCodeblock() { return { name: 'devbook-code-video-plugin', getThemePath() { return path_1.default.resolve(__dirname, './theme'); }, getTypeScriptThemePath() { return path_1.default.resolve(__dirname, '..', 'src', './theme'); }, }; } exports.default = themeLiveCodeblock;