Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert markdown image syntax with [bg] into directives #5

Merged
merged 4 commits into from
Apr 10, 2018

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Apr 1, 2018

This PR will add markdown-it plugin to convert markdown image syntax with [bg] into directives (#4).

ToDo

  • Basic feature of Marpit background image plugin
    • Hide image from rendered HTML when it includes bg in description
    • Assign backgroundImage spot directive
       
  • Deckset style sizing
    • Assign backgroundSize spot directive with percentage
    • Assign backgroundSize: contain spot directive with fit keyword

EDIT: We will split the implementation of sizing syntax into another PR.

We will implement the filter and multiple background at another PR, by using a SVG data URI scheme to background image.

@yhatt yhatt merged commit 9ff49e6 into master Apr 10, 2018
@yhatt yhatt deleted the markdown-bg-syntax branch April 10, 2018 20:12
@yhatt yhatt mentioned this pull request Apr 28, 2018
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant