This repository has been archived by the owner on May 30, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pre-Submission Checklist
master
branch of freeCodeCamp/testable-projects-fccfix/
,feature/
, ortranslate/
(e.g.fix/signin-issue
)Type of Change
Checklist:
Description
@ShaunSHamilton here is the new PR with markedjs added as a dependency and the loading code from
src/index.js
removed.For anyone else interested, please read #1434 for more information about why this PR is needed.
Tested with example project using markedjs V3 and V4 and tested on Codepen with all the versions you see in the Codepen link below.
Note:
bundle.js
size is up from 988 KB (1.012.041 bytes) to 1,00 MB (1.059.258 bytes) with the new markedjs dependency.Codepen with new test:
https://codepen.io/lasjorg/pen/MWEYMXN?editors=1010