From 6068b58cd2a31eb45230b0f8ecdd7fe8529785e4 Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Tue, 24 May 2016 14:43:22 -0400 Subject: [PATCH] Side-by-side comparison --- _episodes/04-divs.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/_episodes/04-divs.md b/_episodes/04-divs.md index 731a96c..cc036b7 100644 --- a/_episodes/04-divs.md +++ b/_episodes/04-divs.md @@ -27,7 +27,34 @@ the challenge > ## Solution > > We can put the solution(s) in blockquotes inside the `div`. -> Or we could define yet another `div`. +> (Or we could define yet another `div` type.) +> +> ~~~ +> code in solution +> ~~~ +> {: .output} {: .solution} + +> ## Challenge Title as H2 +> +> For comparison, this is a challenge done the old way (as a blockquote). +> +> ~~~ +> this code +> is part of +> the challenge +> ~~~ +> {: .source} +> +> > ## Solution +> > +> > And here is the body of the solution. +> > +> > ~~~ +> > code in solution +> > ~~~ +> > {: .output} +> {: .solution} +{: .challenge} -- GitLab