Skip to content

Instantly share code, notes, and snippets.

@BorisKourt
Created February 8, 2016 01:19
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/ea0090f2b6d38d9c726a to your computer and use it in GitHub Desktop.
Save BorisKourt/ea0090f2b6d38d9c726a to your computer and use it in GitHub Desktop.
@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 noTangle
// 2: This shouldn't be in the html
---
The codeblock below won't appear in weave.
--- inTangle.d --- noWeave noTangle 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 --- noTangle noWeave +=
// 4: This should be somewhere.
---
We should see a codeblock here in the html.
--- This is a regular codeblock --- noTangle
// 5: And it will be exported.
---
--- nothing to see here
// 6: Hi
---
The End.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment