Include code from scripts inside Markdown documents#407
Include code from scripts inside Markdown documents#407achjaj wants to merge 2 commits intoJunoLab:masterfrom achjaj:master
Conversation
I used `nothing` for `code_script` regex string in pandoc mode, which caused `MethodError`. Now I replaced it with `a^`
Codecov Report
@@ Coverage Diff @@
## master #407 +/- ##
==========================================
- Coverage 73.73% 73.00% -0.74%
==========================================
Files 26 26
Lines 1348 1363 +15
==========================================
+ Hits 994 995 +1
- Misses 354 368 +14
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #407 +/- ##
==========================================
- Coverage 73.73% 73.00% -0.74%
==========================================
Files 26 26
Lines 1348 1363 +15
==========================================
+ Hits 994 995 +1
- Misses 354 368 +14
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
I added support for including lines from Julia script. Following syntax is used: `js = "path to script" => [lines]`
For example:
`js = "curves.jl" => [1; 5:10;]`
will be replaced with line 1 and lines from 5 to 10 from sript
curves.jl