Skip to content

Add blockquote conversion support to vscode-to-beehiiv tool#114

Merged
rodrigogiraoserrao merged 1 commit intomainfrom
codex/add-blockquote-support-to-beehiiv-tool
Feb 16, 2026
Merged

Add blockquote conversion support to vscode-to-beehiiv tool#114
rodrigogiraoserrao merged 1 commit intomainfrom
codex/add-blockquote-support-to-beehiiv-tool

Conversation

@rodrigogiraoserrao
Copy link
Copy Markdown

Motivation

  • Convert Markdown blockquotes into Beehiiv-compatible blockquote figures so the VS Code → Beehiiv workflow preserves quoted content correctly.

Description

  • Add a BLOCKQUOTE_STYLE constant and a BLOCKQUOTE handling branch inside convertMarkdownToBeehiiv in vscode-to-beehiiv.html.
  • Emit a <figure data-variant="2" data-type="blockquoteFigure"> wrapper containing a <blockquote> with one or more <p data-id=...> paragraphs.
  • Preserve inline HTML and formatting in quote paragraphs and run the same link (target, rel, class) and code language normalization as other blocks.
  • Handle blockquotes that contain no <p> by creating a paragraph from the blockquote text.

Testing

  • Served the tool with python3 -m http.server 4173 --directory /workspace/tools and validated the UI loaded successfully.
  • Ran a Playwright script that filled #markdown-input with > You probably could have guessed that command and confirmed the generated HTML contains a <figure ... data-type="blockquoteFigure"> block (succeeded).
  • Captured a screenshot of the rendered preview to verify visual output (succeeded).

Codex Task

@rodrigogiraoserrao rodrigogiraoserrao merged commit 2e802aa into main Feb 16, 2026
@rodrigogiraoserrao rodrigogiraoserrao deleted the codex/add-blockquote-support-to-beehiiv-tool branch February 16, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant