Skip to content

btbytes/prlink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PRLink

Read all the Rust files in a directory and create play.rust-lang.org links in Markdown format.

That is, if a directory has a file hello.rs with the following content:

fn main() {
    println!("Hello, world!");
}

Running prlink should result in :

- ["hello.rs"](http://play.rust-lang.org/?code=fn+main%28%29+%7B%0A++++println%21%28%22Hello%2C+world%21%22%29%3B%0A%7D%0A)

Click on the link below to see the source code of this console program in rust playground.

The above link was generated by running:

./target/debug/prlink ./src

Update 2015/9/17: I wrote this program essentially to make it easy for https://github.com/carols10cents/rustlings to create links to the Rust Playground. And Carol is using it. Yay!

About

A rust program to generate play.rust-lang.org links from .rs source files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages