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

Check end of block, update for {tinkr} expectations, add CRON #21

Merged
merged 5 commits into from
Jan 27, 2021

Conversation

zkamvar
Copy link
Contributor

@zkamvar zkamvar commented Jan 27, 2021

This PR fixes tests that were failing due to the newer version of {tinkr}, some looser expectations for Kramdown, and updates to the lesson example.

It also introduces a cron job for testing.

There was a challenge block with three solution blocks that was
having an issue where the last solution block was not being acknowledged
as a solution block. My condition caught the block correctly (one block
with two tags), but when it went to find the correct solution block, it
got confused because it was just looking for the first block quote, so I
paramaterized it to be the first block quote that was NOT tagged.

> ## Some challenge
>
> > ## Solution 1
> > ...
> {: .solution}
>
> text ... text
>
> > ## Solution 3
> > ...
> {: .solution}
{: .challenge}
 - make `are_blocks()` more flexible by searching only for `.<name>`
   instead of requiring the final brace to be at the end. (fixes #20)
 - fix tests that incorporate changes to the lesson example
 - fix tests that originate from changes to {tinkr} (sorry for blaming
   you, {xml2}).

This will fix #19
I will forever be grateful when we move away from this wretched markdown
engine. For reference, I wasted an hour trying to track down a non-bug
because of this: swcarpentry/r-novice-inflammation#497
@zkamvar zkamvar merged commit 06a3ae2 into main Jan 27, 2021
@zkamvar zkamvar deleted the what-what branch January 27, 2021 03:13
@zkamvar zkamvar changed the title What what Check end of block, update for {tinkr} expectations, add CRON Feb 1, 2021
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.

1 participant