scribe/src
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
..
actions Extract tile and subtitle from initial paragraphs 2021-08-29 15:19:39 -04:00
classes Extract tile and subtitle from initial paragraphs 2021-08-29 15:19:39 -04:00
clients Use href from iframe media response 2021-08-08 16:49:02 -04:00
components Use H2/H3 instead of H3/H4 respectively 2021-08-14 16:12:01 -04:00
css Initial app 2021-05-01 17:03:38 -04:00
emails Initial app 2021-05-01 17:03:38 -04:00
js Initial app 2021-05-01 17:03:38 -04:00
models Extract tile and subtitle from initial paragraphs 2021-08-29 15:19:39 -04:00
operations Initial app 2021-05-01 17:03:38 -04:00
pages First step rendering a page 2021-07-04 16:28:03 -04:00
queries Initial app 2021-05-01 17:03:38 -04:00
serializers Initial app 2021-05-01 17:03:38 -04:00
app.cr First step rendering a page 2021-07-04 16:28:03 -04:00
app_database.cr Initial app 2021-05-01 17:03:38 -04:00
app_server.cr Initial app 2021-05-01 17:03:38 -04:00
constants.cr First step rendering a page 2021-07-04 16:28:03 -04:00
scribe.cr Initial app 2021-05-01 17:03:38 -04:00
shards.cr Initial app 2021-05-01 17:03:38 -04:00
start_server.cr Initial app 2021-05-01 17:03:38 -04:00