chore(pkg): Prep md parser for publish
fix(netlify): Fix Build
This commit is contained in:
3
tools/challenge-md-parser/.npmignore
Normal file
3
tools/challenge-md-parser/.npmignore
Normal file
@ -0,0 +1,3 @@
|
||||
__snapshots__
|
||||
fixtures
|
||||
*.test.js
|
@ -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>
|
2206
tools/challenge-md-parser/package-lock.json
generated
2206
tools/challenge-md-parser/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -3,6 +3,9 @@
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch"
|
||||
|
Reference in New Issue
Block a user