Feat: add new Markdown parser (#39800)

and change all the challenges to new `md` format.
This commit is contained in:
Oliver Eyton-Williams
2020-11-27 19:02:05 +01:00
committed by GitHub
parent a07f84c8ec
commit 0bd52f8bd1
2580 changed files with 113436 additions and 111979 deletions

View File

@ -1,12 +1,11 @@
---
id: 5900f3b91000cf542c50fecc
challengeType: 5
title: 'Problem 77: Prime summations'
challengeType: 5
forumTopicId: 302190
---
## Description
<section id='description'>
# --description--
It is possible to write ten as the sum of primes in exactly five different ways:
@ -20,31 +19,23 @@ It is possible to write ten as the sum of primes in exactly five different ways:
What is the first value which can be written as the sum of primes in over five thousand different ways?
</section>
# --hints--
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>primeSummations()</code> should return a number.
testString: assert(typeof primeSummations() === 'number');
- text: <code>primeSummations()</code> should return 71.
testString: assert.strictEqual(primeSummations(), 71);
`primeSummations()` should return a number.
```js
assert(typeof primeSummations() === 'number');
```
</section>
`primeSummations()` should return 71.
## Challenge Seed
<section id='challengeSeed'>
```js
assert.strictEqual(primeSummations(), 71);
```
<div id='js-seed'>
# --seed--
## --seed-contents--
```js
function primeSummations() {
@ -55,17 +46,8 @@ function primeSummations() {
primeSummations();
```
</div>
</section>
## Solution
<section id='solution'>
# --solutions--
```js
// solution required
```
</section>