genpark-streaming-markdown-code-block-tracker-skill

mcp
Guvenlik Denetimi
Uyari
Health Uyari
  • No license — Repository has no license file
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 7 GitHub stars
Code Gecti
  • Code scan — Scanned 6 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

State-machine tracker detecting unclosed code blocks and formatting tags in live streaming LLM output

README.md

genpark-streaming-markdown-code-block-tracker-skill

Real-time state machine tracking unclosed markdown code fences, language tags, and formatting delimiters to prevent broken rendering in streaming chat interfaces.

Architecture

flowchart TD
    Chunk[Stream Chunk] --> Tracker[StreamingMarkdownTracker]
    Tracker --> Scanner[Triple & Single Backtick Parser]
    Scanner --> State{Inside Code Block?}
    State -->|Yes| AutoClose[Synthesize Closing Backticks]
    State -->|No| Passthrough[Passthrough Clean Markdown]

Features

  • Auto-Closure Synthesis: Guarantees syntax highlighters always receive closed code blocks.
  • Language Detection: Extracts programming language specifiers.
  • Pure Python: 100% Standard Library.

Yorumlar (0)

Sonuc bulunamadi