Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

btbytes/prlink

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
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

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.