Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Here is a markdown text: sample.md

# Sample document

## &* Structure

```javascript
& Element 1
& Element 2
```

## & Element 1

This is a code chunk.

```javascript
console.log('elem 1')
```

## & Element 2

And another one.

```javascript
console.log('elem 2')
```

And run the command.

$ toylit sample.md
console.log('elem 1')
console.log('elem 2')

It produces a JavaScript program.

$ toylit --exec sample.md
elem 1
elem 2

Or even execute it directly!

About

literate programming in Node.js

Topics

Resources

Releases

No releases published

Packages

No packages published