Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add inline Blade support to Markdown #478

Merged
merged 23 commits into from
May 31, 2022
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
fd4aada
Create BladeDownService.php
caendesilva May 31, 2022
61ac02e
Create BladeDownServiceTest.php
caendesilva May 31, 2022
4b88214
Sketch out the service class
caendesilva May 31, 2022
12feae0
Update examples
caendesilva May 31, 2022
989966a
Add information to PHPDoc
caendesilva May 31, 2022
93e657a
Create the processor to compile Blade in Markdown
caendesilva May 31, 2022
cf3591e
Replace if block with ternary return statement
caendesilva May 31, 2022
ae4b0dc
Add base tests
caendesilva May 31, 2022
a4de024
Make the directive case insensitive
caendesilva May 31, 2022
6db80b7
Test space after directive is optional
caendesilva May 31, 2022
ff2912a
Test directive is ignored if it's not at the start of a line
caendesilva May 31, 2022
e21cef7
Test it renders Blade views with variables
caendesilva May 31, 2022
3cd5a0b
Add support for passing page data to Blade
caendesilva May 31, 2022
cdbd444
Make the space required to reduce complexity
caendesilva May 31, 2022
bad2625
Implement a shortcode directive preprocessor
caendesilva May 31, 2022
38af843
Add Blade support to the Markdown Converter
caendesilva May 31, 2022
8fa12ea
Make markdown.enable_blade default to false
caendesilva May 31, 2022
18cb444
Remove improper PHPDoc
caendesilva May 31, 2022
16c1540
Add Blade-supported Markdown option
caendesilva May 31, 2022
0d7ae0f
Create page and document Blade-supported Markdown
caendesilva May 31, 2022
1298ab5
Apply fixes from StyleCI
StyleCIBot May 31, 2022
03aaecd
Merge pull request #477 from hydephp/analysis-yrDdmY
May 31, 2022
a0a28cb
Reorder headings
caendesilva May 31, 2022
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
Prev Previous commit
Next Next commit
Remove improper PHPDoc
  • Loading branch information
caendesilva committed May 31, 2022
commit 18cb4440569d336457a88064bbcae5b21bb62695
2 changes: 0 additions & 2 deletions src/Services/BladeDownService.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
* Works on a line-by-line basis by searching for a line starting with the directive.
* The preprocessor expands the directive to an HTML comment. The post-processor parses it.
*
* Note that optional supplied data is global to the entire file/page.
*
* @example: [Blade]: {{ time() }}
* @example: [Blade]: @include('path/to/view.blade.php')
*
Expand Down