Skip to content

Flatten to CommonMark? #67

@eguvep

Description

@eguvep

Thanks again for providing LiaScript, that evolved to my most used format for creating teaching material an even talks!

I would like to discuss a feature: What is the community-opinion and the developer-opinion about exporting LiaScript-MarkDown to a »flattened« or »simplified« CommonMark Version?

Why?

The browser interpreted version is great and interactive and should be the primary used version, of course. That is the purpose of LiaScript. But many learners still like to use a »paper like« version, usually PDF but probably also EPUB or something else. They use this versions along the browser interpreted interactive one for adding handwritten comments for example.

The puppeteer export has screenshot character and there is not much control over the final layout. Using CommonMark, one would have the full power of Pandoc to convert a LiaScript course to virtually every other format. That would be much more flexible and versatile.

How?

The interactive parts could be »flattened« in an appropriate way. It is not necessary to keep the interactivity. This is exclusively used in the browser version.
A quiz could be converted to a simple list or table, in the matrix quiz case, for example. Solutions or hints could simply be deleted in a first version or gathered at the end of the text or moved to a footnote in a later version. Videos our audios could be replaced by simple links. Code blocks could be left as they are. An interpretation may be skipped. ASCII art could be left as is in a first version, I think.

I would appreciate your opinion!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions