Skip to content

Instantly share code, notes, and snippets.

@BorisKourt
Created February 10, 2016 18:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BorisKourt/d7be0c0ac45f6357a946 to your computer and use it in GitHub Desktop.
Save BorisKourt/d7be0c0ac45f6357a946 to your computer and use it in GitHub Desktop.
noWeave Test file
@code_type d .d
@comment_type // %s
@title No Weave Test
@s Notes
Provide a set of fields for the Block class that denote any modifiers.
Create a place to describe modifiers.
Provide a way to parse modifiers from a codeblock statement.
@s Code
--- Hello.d --- incorrect-modifier
// 1: This should be in the html
// Unfortunately the block below wont be in the html
@{I want to include this}
---
--- I want to include this --- noWeave
// 2: This shouldn't be in the html
---
The codeblock below won't appear in weave.
--- inTangle.d --- noWeave incorrect-modifier
// 3: This shouldn't be in the html ether.
---
The codeblock below also won't appear in weave, but this descriptive line will.
--- inTangle.d --- noWeave +=
// 4: This should be added to the inTangle.d file. But not in the html.
---
We should see a codeblock here in the html.
--- This is a regular codeblock ---
// 5: And it will be exported.
---
--- nothing to see here 2 ---
// 5.5: Won't appear in tangle? But will be in html.
---
--- nothing to see here
// 6: Won't appear in tangle? But will be in html.
---
--- old.d
// This should be in the old.d file
---
--- old.d +=
// And this should be appended to the old.d file.
---
--- old2.d
// This should not exist.
---
--- old2.d :=
// This should have redefined the above line.
---
The End.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment