Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tests/testsuite/includes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ fn playground_include() {
</span><span class="boring"> // You can even hide lines! :D
</span><span class="boring"> println!("I am hidden! Expand the code snippet to see me");
</span>}</code></pre>
<h2 id="editable-playground"><a class="header" href="#editable-playground">Editable Playground</a></h2>
<pre class="playground"><code class="language-rust editable">fn main() {
println!("Hello World!");
<span class="boring">
</span><span class="boring"> // You can even hide lines! :D
</span><span class="boring"> println!("I am hidden! Expand the code snippet to see me");
</span>}</code></pre>
"##]]);
}

Expand Down
4 changes: 4 additions & 0 deletions tests/testsuite/includes/all_includes/src/playground.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Playground Includes

{{#playground example.rs}}

## Editable Playground

{{#playground example.rs editable}}
Loading