scribe/spec
Edward Loveall 05c18f6451
Extract tile and subtitle from initial paragraphs
Medium guides each post to have a Title and Subtitle. They are rendered
as the first two paragraphs: H3 and H4 respectively. If they exist, a
new PageConverter class extracts them and sets them on the page.

However, they aren't required. If the first two paragraphs aren't H3
and H4, the PageConverter falls back to using the first paragraph as
the title, and setting the subtitle to blank.

The remaining paragraphs are passed into the ParagraphConverter as
normal.
2021-08-29 15:19:39 -04:00
..
classes Extract tile and subtitle from initial paragraphs 2021-08-29 15:19:39 -04:00
components Extract tile and subtitle from initial paragraphs 2021-08-29 15:19:39 -04:00
flows Initial app 2021-05-01 17:03:38 -04:00
models Show the host for the iframe link 2021-07-05 15:36:38 -04:00
setup Initial app 2021-05-01 17:03:38 -04:00
support Use href from iframe media response 2021-08-08 16:49:02 -04:00
spec_helper.cr Initial app 2021-05-01 17:03:38 -04:00