Replace snarkdown with marked

This commit is contained in:
Robbie Antenesse 2019-05-08 16:22:59 -06:00
parent dd3a247ee3
commit befa0fba95
3 changed files with 3 additions and 9 deletions

View File

@ -15,13 +15,12 @@
}, },
"devDependencies": { "devDependencies": {
"autoprefixer": "^9.5.1", "autoprefixer": "^9.5.1",
"marked": "^0.6.2",
"parcel-bundler": "^1.12.3", "parcel-bundler": "^1.12.3",
"rimraf": "^2.6.3", "rimraf": "^2.6.3",
"sass": "^1.19.0" "sass": "^1.19.0"
}, },
"dependencies": { "dependencies": {
"normalize.css": "^8.0.1", "marked": "^0.6.2",
"snarkdown": "^1.2.2" "normalize.css": "^8.0.1"
} }
} }

View File

@ -1,4 +1,4 @@
import md from 'snarkdown'; import md from 'marked';
import { removeTags, slugify } from '../helpers'; import { removeTags, slugify } from '../helpers';
import { getWordsStats, wordExists } from './utilities'; import { getWordsStats, wordExists } from './utilities';
import { getMatchingSearchWords, highlightSearchTerm, getSearchFilters, getSearchTerm } from './search'; import { getMatchingSearchWords, highlightSearchTerm, getSearchFilters, getSearchTerm } from './search';

View File

@ -4583,11 +4583,6 @@ snapdragon@^0.8.1:
source-map-resolve "^0.5.0" source-map-resolve "^0.5.0"
use "^3.1.0" use "^3.1.0"
snarkdown@^1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/snarkdown/-/snarkdown-1.2.2.tgz#0cfe2f3012b804de120fc0c9f7791e869c59cc74"
integrity sha1-DP4vMBK4BN4SD8DJ93kehpxZzHQ=
source-map-resolve@^0.5.0: source-map-resolve@^0.5.0:
version "0.5.2" version "0.5.2"
resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.2.tgz#72e2cc34095543e43b2c62b2c4c10d4a9054f259" resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.2.tgz#72e2cc34095543e43b2c62b2c4c10d4a9054f259"