Clean up in markdown.js and some unit tests
1. More robust href parameter parsing 2. Split youtube-related code (except html) to separate file 3. Unit tests for 1 and 2 4. Heading "Hello - world" now generates "hello-world" anchor instead of "hello---world" (no more duplicated hyphens in urls)
Showing
sitegin/tests/youtubeTest.js
0 → 100644
sitegin/utils/youtube.js
0 → 100644
Please register or sign in to comment