Fork of Scribe - an alternative Medium frontend
05c18f6451
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. |
||
---|---|---|
.github/workflows | ||
config | ||
db/migrations | ||
public | ||
script | ||
spec | ||
src | ||
tasks | ||
.crystal-version | ||
.editorconfig | ||
.gitignore | ||
.tool-versions | ||
bs-config.js | ||
package.json | ||
Procfile | ||
Procfile.dev | ||
README.md | ||
shard.lock | ||
shard.yml | ||
tasks.cr | ||
webpack.mix.js | ||
yarn.lock |
scribe
This is a project written using Lucky. Enjoy!
Setting up the project
- Install required dependencies
- Update database settings in
config/database.cr
- Run
script/setup
- Run
lucky dev
to start the app
Learning Lucky
Lucky uses the Crystal programming language. You can learn about Lucky from the Lucky Guides.