Toolverse
All skills

pdf-creator

by daymade

Create PDF documents from markdown with proper Chinese font support using weasyprint. This skill should be used when converting markdown to PDF, generating formal documents (legal, trademark filings, reports), or when Chinese typography is required. Triggers include \

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
daymade
Category
UX / Design
Views
3

About this skill

Create PDF documents from markdown with proper Chinese font support using weasyprint. This skill should be used when converting markdown to PDF, generating formal documents (legal, trademark filings, reports), or when Chinese typography is required. Triggers include \

How to use

  1. Zainstaluj zależności uruchamiając polecenie z flagami --with weasyprint --with markdown, aby upewnić się, że wszystkie wymagane biblioteki są dostępne w Twoim środowisku. 2. Przygotuj plik markdown zawierający treść, którą chcesz przekonwertować na PDF. Upewnij się, że zawiera on tekst angielski, chiński lub oba. 3. Aby przekonwertować jeden plik, uruchom skrypt md_to_pdf.py podając ścieżkę do pliku wejściowego i nazwę pliku wyjściowego. Na przykład: uv run --with weasyprint --with markdown scripts/md_to_pdf.py input.md output.pdf. 4. Jeśli chcesz przetwarzać wiele plików naraz, użyj skryptu batch_convert.py z wzorcem plików i parametrem --output-dir wskazującym katalog docelowy. Na przykład: uv run --with weasyprint --with markdown scripts/batch_convert.py *.md --output-dir ./pdfs. 5. Jeśli znaki chińskie wyświetlają się jako puste pola, sprawdź czy na Twoim systemie są zainstalowane czcionki Songti SC, SimSun lub Noto Serif CJK SC. Na macOS z architekturą ARM zmienne środowiskowe DYLD_LIBRARY_PATH są konfigurowane automatycznie. 6. Wygenerowany PDF będzie miał format A4 z odpowiednimi marginesami, czcionkami i rozmiarem poniżej 2MB, gotowy do druku lub przesłania w formularzach.

Related skills

penpot-uiux-design

by github

Comprehensive guide for creating professional UI/UX designs in Penpot using MCP tools. Use this skill when: (1) Creating new UI/UX designs for web, mobile, or desktop applications, (2) Building design systems with components and tokens, (3) Designing dashboards, forms,

UX / Design
1788

scroll-experience

by davila7

Expert in building immersive scroll-driven experiences - parallax storytelling, scroll animations, interactive narratives, and cinematic web experiences. Like NY Times interactives, Apple product pages, and award-winning web experiences. Makes websites feel like experiences, not

UX / Design
75117

godot-gdscript-patterns

by sickn33

Master Godot 4 GDScript patterns including signals, scenes, state machines, and optimization. Use when building Godot games, implementing game systems, or learning GDScript best practices.

UX / Design
27105

blender-toolkit

by Dev-GOM

Automate Blender tasks like creating 3D shapes, managing materials, and retargeting Mixamo animations with real-time control.

UX / Design
60200

sound-engineer

by erichowens

Expert audio engineer specializing in spatial audio, procedural sound design, interactive audio systems, and real-time DSP

UX / Design
14102

ffmpeg-cli

by openclaw

Comprehensive video/audio processing with FFmpeg. Use for: (1) Video transcoding and format conversion, (2) Cutting and merging clips, (3) Audio extraction and manipulation, (4) Thumbnail and GIF generation, (5) Resolution scaling and quality adjustment, (6) Adding subtitles or

UX / Design
4298