scribe/spec/classes
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
..
markup_converter_spec.cr Overlapping refactor 2021-08-08 15:08:43 -04:00
page_converter_spec.cr Extract tile and subtitle from initial paragraphs 2021-08-29 15:19:39 -04:00
paragraph_converter_spec.cr Use H2/H3 instead of H3/H4 respectively 2021-08-14 16:12:01 -04:00