Skip to content

Custom Markdown element to run Shoes code #19

@IanTrudel

Description

@IanTrudel

Define a custom Markdown element to embed and run Shoes/Ruby code within a Markdown file. For example:

# Custom Markdown element 

%%%
button("Shoes?") do
   alert("Shoes inside!")
end
%%%

This example doesn't stop here. 
Let's calculate 8 + 5: %8 + 5%. 
It's a %strong("bold")% statement.

And now loading and running filename.rb...
%!filename.rb%

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