Modern presentation framework and CLI tool that transforms Markdown files into interactive, web-based slide presentations with built-in development server, export capabilities, and Vue.js integration
Overall
score
100%
A tool that generates presentation slides to demonstrate code changes before and after refactoring.
Create a presentation slide generator that takes code snippets from two versions of a file (before and after) and generates a Markdown slide file showing the differences side-by-side. The tool should create slides that display code comparisons in a diff view, making it easy to present code changes during talks or reviews.
const x = 1;, new code const count = 1;, and language "js", it generates a slide with title heading and a diff code block using {monaco-diff} syntax @test~~~ separator, then the new code @test ```ts {monaco-diff} @test--- @test@generates
/**
* Generates a slide with a code diff comparison.
*
* @param {Object} slideData - The slide configuration
* @param {string} slideData.title - The title of the slide
* @param {string} slideData.oldCode - The original code snippet
* @param {string} slideData.newCode - The refactored code snippet
* @param {string} slideData.language - The programming language (e.g., 'js', 'ts', 'python')
* @returns {string} The markdown content for a single slide with diff view
*/
function generateDiffSlide(slideData) {
// IMPLEMENTATION HERE
}
/**
* Generates a complete presentation file with multiple diff slides.
*
* @param {Object} presentationData - The presentation configuration
* @param {string} presentationData.title - The presentation title
* @param {string} presentationData.author - The author name
* @param {Array<Object>} presentationData.slides - Array of slide data objects
* @returns {string} The complete markdown content for the presentation
*/
function generatePresentation(presentationData) {
// IMPLEMENTATION HERE
}
module.exports = {
generateDiffSlide,
generatePresentation,
};Provides presentation framework with diff view capabilities.
@satisfied-by
Install with Tessl CLI
npx tessl i tessl/npm-slidev--clidocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10