Skip to content

Auto-detect for .html vs .md files #2

Description

@tataraba

Right now, when uploading a file while creating a slideshow, the application expects an html file.

First of all, validation can be added to ensure that only .html or .md files are allowed.

Additional validation could be added to ensure that unnecessary tags are not included in the html file (like <head> or <body>, but maybe that's a separate issue.

As of now, the program only expects html file, which means that if someone wants to create slides is markdown, they need to include the <section data-markdown> and <textarea data-template> html tags in their file around the markdown content. This is not ideal. It would be great if the application detects markdown and adds those tags automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions