-
Notifications
You must be signed in to change notification settings - Fork 6
Phaidra flavored Markdown
Learning content served to the frontend is parsed through an extended version of Python-Markdown.
Some of the features to enhance ease-of-editing include:
- Setting the language attribute on text
- Highlighting 'tips' for the user.
- Audio elements
- Inflection/Conjugation Tables
- Cell highlighting
- Cell check-off
- Word Breakdowns
Setting the language attribute on text
All Greek text should be denoted as such, so that we can use the best, most readable font face and size.
[lang:grc]ἡ ἡμέρα[/lang] - the day
Note to self: Can/should Greek be automatically wrapped? What implications would this have for the workflow for other languages (especially those that need special fonts)?
Marking the Morphology of a Word
Marking the morphology of a word allows our system to highlight that word if the user gets a related question incorrect.
[lang:grc(fem,sg,nom)]ἡ ἡμέρα[/grc]
Note to self: Investigate more readable alternatives...
Highlighting 'tips' for the user
[tip]
**Look out!**
Ancient Greek is full of irregularities!
[/tip]
Audio elements
When you want to embed a sound file on the page.
[@[/static/audio/path/to/file.wav]]
Inflection/Conjugation Tables
You can use essentially the same syntax as you would to render a normal table in Markdown, but with some added features.
| Case | Singular | Plural |
| ----------- |:---------:| --------:|
| Nominative | ὁ | οἱ {v} |
| Genitive | τοῦ | τῶν {v} |
| Dative | τῷ | τοῖς {v} |
| Accusative | τόν | τούς {v} |
| Vocative | - | - |
You can add these markers to inflection and conjugation tables:
{v}
- Creates a checkmark
{*}
- Highlights that row
Word Breakdowns
Say you want to break a word into its parts and point out what they each mean (for example: verb stem + futuristic sigma + ending => whoa!)
[ἔ > Past Indicative Augment ]
[λιπ > Verb Stem ]
[ον > Ending ]
- Developer tools and workflow
- API
- Neo4j-powered
- Postgres-powered
- Data
- Internationalization
- General information
- Developer tools and workflow
- Project structure overview
- Frontend vs. Backend Templates
- Backbone.js app structure
- Internationalization for JS
- Guidelines for creating content
- Adding a locale to Phaidra
- Postgres Database
- Neo4j
- Django
- "The server"
- Git
- UI