chore(pkg): Prep md parser for publish

fix(netlify): Fix Build
This commit is contained in:
Bouncey
2018-10-04 18:25:49 +01:00
committed by Stuart Taylor
parent 3f86862d3e
commit badc68089f
10 changed files with 1143 additions and 1402 deletions

View File

@ -0,0 +1,3 @@
__snapshots__
fixtures
*.test.js

View File

@ -1,86 +0,0 @@
---
id: bd7123c8c441eddfaeb5bdef
title: Say Hello to HTML Elements
challengeType: 0
videoUrl: https://scrimba.com/p/pVMPUv/cE8Gpt2
---
## Description
<section id='description'>
Welcome to freeCodeCamp's HTML coding challenges. These will walk you through web development step-by-step.
Lorem Ipsum with `some code`
> Some text in a blockquote
> Some text in a blockquote, with `code`
```html
<p>We aim to preserve this</p>
```
</section>
## Instructions
<section id='instructions'>
To pass the test on this challenge, change your `h1` element's text to say "Hello World".
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: Your <code>h1</code> element should have the text "Hello World".
testString: assert.isTrue((/hello(\s)+world/gi).test($('h1').text()), 'Your <code>h1</code> element should have the text "Hello World".');
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function testFunction(arg) {
return arg;
}
testFunction('hello');
```
</div>
### Before Test
<div id='js-setup'>
```js
console.log('before the test');
```
</div>
### After Test
<div id='js-teardown'>
```js
console.info('after the test');
```
</div>
</section>
## Solution
<section id='solution'>
```js
function testFunction(arg) {
return arg;
}
testFunction('hello');
```
</section>

File diff suppressed because it is too large Load Diff

View File

@ -3,6 +3,9 @@
"version": "1.0.0",
"description": "",
"main": "index.js",
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "jest",
"test:watch": "jest --watch"