Commit 2e802aa
authored
Add blockquote support to VS Code to Beehiiv converter (#114)
### 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.
------
[Codex Task](https://chatgpt.com/codex/tasks/task_e_699372e3cd3483258520f497129f89aa)1 parent 1f86e54 commit 2e802aa
1 file changed
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
214 | 254 | | |
215 | 255 | | |
216 | 256 | | |
| |||
0 commit comments