Skip to content

Change the markup for embedding videos #12

@the5thvolt

Description

@the5thvolt

Currently the markup for embedding a Youtube video looks like this:
%embed% https://youtu.be/c3qsSg5ZfSk %%

This is ugly, out of style for the other wiki markups used and misleading, because it only works for YouTube videos, no other embeds.

It would be great to change the markup to look like this:
[[youtube|https://youtu.be/c3qsSg5ZfSk]]

To achieve this we need to:

  1. change the hook in the pmmarkup.js or create a new plugin file to render the new markup.
  2. write a script which runs once over all pages and changes the old markup to the new markup

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions