scribe/src/actions
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
..
articles Extract tile and subtitle from initial paragraphs 2021-08-29 15:19:39 -04:00
errors Initial app 2021-05-01 17:03:38 -04:00
home Initial app 2021-05-01 17:03:38 -04:00
mixins Initial app 2021-05-01 17:03:38 -04:00
api_action.cr Initial app 2021-05-01 17:03:38 -04:00
browser_action.cr Initial app 2021-05-01 17:03:38 -04:00