Skip to content

Instantly share code, notes, and snippets.

View yhatt's full-sized avatar

Yuki Hattori yhatt

  • Japan
  • 18:36 (UTC +09:00)
  • X @y_hatt
View GitHub Profile
@yhatt
yhatt / iA_Presenter_style_notes.md
Last active January 30, 2024 18:43
Convert paragraphs on top level of the slide page into presenter notes, and hide from the slide.

Regular text is only visible to you. Headlines go on the slide.

iA Presenter (https://ia.net/presenter)

Unlike popular Markdown slide tools, iA Presenter has a unique approach to displaying written content in Markdown.

Are you looking at its innovative approach with longing eyes? No need to wait with your fingers crossed; the same feature can be achieved in Marp using a plugin.

git clone https://gist.github.com/54a1b07ff41485920d370e864860b8a8.git ia_presenter_style_notes
@yhatt
yhatt / README.md
Last active January 17, 2025 16:00
Marp custom engine
npm i --save-dev @marp-team/marp-cli gist:c8949276ceab6cd979f0f5c7b7c1b7fc
npx marp --engine marp-custom-engine your-slide.md
@yhatt
yhatt / SKILL.md
Created August 7, 2026 23:49
migrate-marp-theme-to-v5 skill for coding agent
name migrate-marp-theme-to-v5
description Migrate Marp theme syntax-highlighting colors from legacy highlight.js `.hljs` and `.hljs-*` CSS selectors to Marp Core v5 `--marp-shiki-*` custom properties, infer a reviewable line-highlight color, and retain every legacy rule for backward compatibility. Use for Marp theme CSS and Marp Markdown that contains HTML style elements or a YAML `style` directive, including scoped or variant-specific highlighting colors.

Migrate Marp Theme to v5

Preserve legacy highlight.js rules and add Marp v5 Shiki color variables beside them. Treat the migration as additive: never delete or rewrite .hljs or .hljs-* rules.

Workflow