Discover Packages
github.com/maaslalani/slides
internal
process
package
Version:
v0.4.1
Opens a new window with list of versions in this module.
Published: Jul 5, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Pre processes the markdown content by executing the commands necessary and
returns the new processed content
Block represents a pre-processable block which looks like the following: It
is delimited by ~~~ and contains a command to be run along with the input to
be passed, the entire block should be replaced with its command output
~~~sd block process
block
~~~
Parse takes some markdown and returns blocks to be pre-processed
func (b *Block ) Execute()
Execute takes performs the execution of the block's command
by passing in the block's input as stdin and sets the block output
Source Files
¶
Click to show internal directories.
Click to hide internal directories.