Open upsiflu opened 1 year ago
Consideration: use elm-markdown as block description format.
Pro:
Con:
lmplementation:
(a) one md per block (b) one md per article, with custom html tags for blocks and helpful error messages
The editor can occupy a new region Source
(toggle visibility on small screen; occupy leftmost screen column on wider viewport)
Concerning elm-markdown: Experiences gained when implementing github.com/upsiflu/multimedia
Current:
Proposal:
How to implement:
Each block is an Elm type. The
view
may introduce custom-elements, for example for rendering literal Html. An article's content is a list of blocksThe current implementation can render to text :-)
Editor:
A block may have attributes. We can simply add an editor for attributes to the Control.
Scope:
Outlook: