Filename:
4-fourth-post
Extension:
blade.md
Path:
/posts/4-fourth-post
BASE URL:
http://jigsaw-test.dev
URL:
http://jigsaw-test.dev/posts/4-fourth-post
Global Variable:
some global variable
By Adam Wathan · 04/12/2017
By Matt Stauffer · 04/01/2016
References to adjacent collection items:
This filename ends with blade.md and is processed by both the Blade parser (first) and then the Markdown parser (second).
So you can mix BLADE and Markdown directives in the same file.
Note that in
blade.mdfiles,sectioncan be omitted (as it can in any.mdfile).
You can also include any type of file, which will get parsed based on its own file type:
Included Markdown file
Included Blade file (with a global variable: some global variable)
Included Blade/Markdown hybrid file (with a global variable: some global variable)
User-defined helper function preview() from collections.php, invoked at the item level:
A Blade/Markdown hybrid. This filename ends with blade.md and is processed by both the Blade p ...
User-defined helper function, invoked on adjacent collection items
Normal Markdown post. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus earum dist...
Access a Jigsaw Collection as Illuminate Collection
Dump of $page (can also be accessed as singular version of collection name, i.e. $post)