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

Include code from scripts inside Markdown documents #407

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Include code from scripts inside Markdown documents #407

wants to merge 2 commits into from

Conversation

achjaj
Copy link

@achjaj achjaj commented Nov 19, 2020

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

I used `nothing` for `code_script` regex string in pandoc mode, which 
caused `MethodError`. Now I replaced it with `a^`
@codecov-io
Copy link

codecov-io commented Nov 19, 2020

Codecov Report

Merging #407 (42d928f) into master (c9fc740) will decrease coverage by 0.73%.
The diff coverage is 27.77%.

Impacted file tree graph

@@            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     
Flag Coverage Δ
unittests 73.00% <27.77%> (-0.74%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/reader/markdown.jl 78.12% <27.77%> (-19.84%) ⬇️
src/rendering/texformats.jl 83.96% <0.00%> (-0.95%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c9fc740...42d928f. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants