@wulechuan/css-stylus-markdown-themes 7.2.7 → 7.2.8
Sign up to get free protection for your applications and to get access to all the features.
- package/ReadMe.md +1 -1
- package/package.json +4 -4
- package//346/226/207/346/241/243//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/225/210/346/236/234/347/244/272/344/276/213/351/233/206//345/216/237/345/247/213/347/232/204-markdown-/346/240/274/345/274/217/347/232/204/346/226/207/347/253/240/theming-example-article.en-US.md +1 -1
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown--firefox-addon.default.css +4 -3
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown--typora.default.css +3 -2
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown--vscode.default.min.css +1 -1
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default--no-toc.css +3 -2
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default--no-toc.min.css +1 -1
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default--with-toc.css +4 -3
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default--with-toc.min.css +1 -1
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default--wrapped--no-toc.css +3 -2
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default--wrapped--no-toc.min.css +1 -1
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default--wrapped--with-toc.css +4 -3
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default--wrapped--with-toc.min.css +1 -1
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default-dark--no-toc.css +3 -2
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default-dark--no-toc.min.css +1 -1
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default-dark--with-toc.css +4 -3
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default-dark--with-toc.min.css +1 -1
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default-dark--wrapped--no-toc.css +3 -2
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default-dark--wrapped--no-toc.min.css +1 -1
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default-dark--wrapped--with-toc.css +4 -3
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.default-dark--wrapped--with-toc.min.css +1 -1
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.generic-default-light--atom-one-dark--no-toc.css +3 -2
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.generic-default-light--atom-one-dark--no-toc.min.css +1 -1
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.generic-default-light--atom-one-dark--with-toc.css +4 -3
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.generic-default-light--atom-one-dark--with-toc.min.css +1 -1
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.generic-default-light--atom-one-dark--wrapped--no-toc.css +3 -2
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.generic-default-light--atom-one-dark--wrapped--no-toc.min.css +1 -1
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.generic-default-light--atom-one-dark--wrapped--with-toc.css +4 -3
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/226/207/347/253/240/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/351/233/206//345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/wulechuan-styles-for-html-via-markdown.generic-default-light--atom-one-dark--wrapped--with-toc.min.css +1 -1
- package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/00-/344/273/273/345/212/241/344/271/213/351/205/215/347/275/256/351/241/271/351/233/206//351/222/210/345/257/271/346/236/204/345/273/272/346/211/200/346/234/211/351/241/273/345/217/221/345/270/203/344/271/213-javascript-/344/271/213/344/273/273/345/212/241/347/232/204.js +0 -30
- package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/00-/344/273/273/345/212/241/344/271/213/351/205/215/347/275/256/351/241/271/351/233/206//351/222/210/345/257/271/346/236/204/345/273/272/346/211/200/346/234/211/351/241/273/345/217/221/345/270/203/344/271/213/345/261/202/345/217/240/346/240/267/345/274/217/350/241/250/344/271/213/344/273/273/345/212/241/347/232/204.js +0 -111
- package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/00-/344/273/273/345/212/241/344/271/213/351/205/215/347/275/256/351/241/271/351/233/206//351/222/210/345/257/271/347/224/250/344/272/216/345/274/200/345/217/221/346/237/220/344/270/200/347/211/271/345/256/232/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/344/271/213/344/273/273/345/212/241/347/232/204.js +0 -11
- package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/01-/347/224/250/344/272/216/346/236/204/345/273/272/347/256/200/345/215/225/344/273/273/345/212/241/347/232/204/345/267/245/345/205/267/351/233/206//346/236/204/345/273/272/347/256/200/345/215/225/344/273/273/345/212/241/347/224/250/344/273/245/345/260/206/346/237/220/347/244/272/344/276/213/346/200/247-html-/351/205/215/345/245/227/347/232/204/346/217/222/345/233/276/347/255/211/350/265/204/346/272/220/345/244/215/345/210/266/345/210/260/347/233/256/346/240/207/346/226/207/344/273/266/345/244/271.js +0 -10
- package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/02-/347/224/250/344/272/216/346/236/204/345/273/272/344/273/273/345/212/241/351/227/255/347/216/257/347/232/204/345/267/245/345/205/267/351/233/206//347/224/250/344/272/216/346/236/204/345/273/272/346/225/210/346/236/234/345/221/210/347/216/260/347/244/272/344/276/213/344/271/213/346/226/207/347/253/240/347/232/204//346/236/204/345/273/272/344/270/200/344/270/252/344/273/273/345/212/241/351/227/255/347/216/257/344/273/245/345/210/233/345/273/272/346/225/210/346/236/234/345/221/210/347/216/260/347/244/272/344/276/213/344/271/213/346/226/207/347/253/240.js +0 -219
- package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/02-/347/224/250/344/272/216/346/236/204/345/273/272/344/273/273/345/212/241/351/227/255/347/216/257/347/232/204/345/267/245/345/205/267/351/233/206//347/224/250/344/272/216/347/224/237/346/210/220/345/217/257/345/217/221/345/270/203/344/271/213/346/272/220/344/273/243/347/240/201/347/232/204//345/244/204/347/220/206-stylus-/346/226/207/344/273/266/345/271/266/346/236/204/345/273/272/345/207/272-css-/346/226/207/344/273/266/0-get-a-specific-task-config-by-an-entry-stylus-file-sub-path.js +0 -30
- package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/02-/347/224/250/344/272/216/346/236/204/345/273/272/344/273/273/345/212/241/351/227/255/347/216/257/347/232/204/345/267/245/345/205/267/351/233/206//347/224/250/344/272/216/347/224/237/346/210/220/345/217/257/345/217/221/345/270/203/344/271/213/346/272/220/344/273/243/347/240/201/347/232/204//345/244/204/347/220/206-stylus-/346/226/207/344/273/266/345/271/266/346/236/204/345/273/272/345/207/272-css-/346/226/207/344/273/266/1-merge-shared-task-config-and-one-specific-task-config.js +0 -71
- package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/02-/347/224/250/344/272/216/346/236/204/345/273/272/344/273/273/345/212/241/351/227/255/347/216/257/347/232/204/345/267/245/345/205/267/351/233/206//347/224/250/344/272/216/347/224/237/346/210/220/345/217/257/345/217/221/345/270/203/344/271/213/346/272/220/344/273/243/347/240/201/347/232/204//345/244/204/347/220/206-stylus-/346/226/207/344/273/266/345/271/266/346/236/204/345/273/272/345/207/272-css-/346/226/207/344/273/266/2-create-a-task-cycle-via-a-merged-task-config.js +0 -54
- package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/02-/347/224/250/344/272/216/346/236/204/345/273/272/344/273/273/345/212/241/351/227/255/347/216/257/347/232/204/345/267/245/345/205/267/351/233/206//347/224/250/344/272/216/347/224/237/346/210/220/345/217/257/345/217/221/345/270/203/344/271/213/346/272/220/344/273/243/347/240/201/347/232/204//345/244/204/347/220/206-stylus-/346/226/207/344/273/266/345/271/266/346/236/204/345/273/272/345/207/272-css-/346/226/207/344/273/266/3-create-a-task-cycle-via-a-specific-task-config.js +0 -11
- package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/02-/347/224/250/344/272/216/346/236/204/345/273/272/344/273/273/345/212/241/351/227/255/347/216/257/347/232/204/345/267/245/345/205/267/351/233/206//347/224/250/344/272/216/347/224/237/346/210/220/345/217/257/345/217/221/345/270/203/344/271/213/346/272/220/344/273/243/347/240/201/347/232/204//345/244/204/347/220/206-stylus-/346/226/207/344/273/266/345/271/266/346/236/204/345/273/272/345/207/272-css-/346/226/207/344/273/266/4-create-a-task-cycle-via-an-entry-stylus-file-sub-path.js +0 -12
- package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/02-/347/224/250/344/272/216/346/236/204/345/273/272/344/273/273/345/212/241/351/227/255/347/216/257/347/232/204/345/267/245/345/205/267/351/233/206//347/224/250/344/272/216/347/224/237/346/210/220/345/217/257/345/217/221/345/270/203/344/271/213/346/272/220/344/273/243/347/240/201/347/232/204//345/244/204/347/220/206/345/271/266/346/236/204/345/273/272/345/207/272-javascript-/346/226/207/344/273/266//344/270/272/346/211/200/346/234/211/351/241/273/345/217/221/345/270/203/347/232/204-javascript-/346/226/207/344/273/266/347/232/204/346/236/204/345/273/272/344/273/273/345/212/241/351/200/220/344/270/200/346/236/204/345/273/272/345/207/272/344/273/273/345/212/241/351/227/255/347/216/257.js +0 -7
- package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/02-/347/224/250/344/272/216/346/236/204/345/273/272/344/273/273/345/212/241/351/227/255/347/216/257/347/232/204/345/267/245/345/205/267/351/233/206//347/224/250/344/272/216/347/224/237/346/210/220/345/217/257/345/217/221/345/270/203/344/271/213/346/272/220/344/273/243/347/240/201/347/232/204//345/244/204/347/220/206/345/271/266/346/236/204/345/273/272/345/207/272-javascript-/346/226/207/344/273/266//346/236/204/345/273/272/344/270/200/344/270/252/344/273/273/345/212/241/351/227/255/347/216/257/347/224/250/344/273/245/345/244/215/345/210/266/345/217/221/345/270/203/345/206/205/345/256/271/344/270/223/345/261/236/347/232/204-eslintrc-/346/226/207/344/273/266.js +0 -31
- package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/02-/347/224/250/344/272/216/346/236/204/345/273/272/344/273/273/345/212/241/351/227/255/347/216/257/347/232/204/345/267/245/345/205/267/351/233/206//350/276/203/344/270/272/351/200/232/347/224/250/347/232/204//346/236/204/345/273/272/344/270/200/344/270/252/344/273/273/345/212/241/351/227/255/347/216/257/347/224/250/344/273/245/345/244/215/345/210/266/344/270/200/347/273/204-javascript-/346/226/207/344/273/266.js +0 -32
- package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/03-/346/236/204/345/273/272/345/245/275/347/232/204/344/273/273/345/212/241/351/227/255/347/216/257/346/210/226/347/256/200/345/215/225/344/273/273/345/212/241//345/271/266/351/251/276/351/275/220/351/251/261/346/236/204/345/273/272/345/244/232/347/257/207/346/226/207/347/253/240/344/271/213-html-/344/271/213/350/257/270/344/273/273/345/212/241/344/271/213/346/200/273/344/273/273/345/212/241/351/227/255/347/216/257.js +0 -90
- package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/03-/346/236/204/345/273/272/345/245/275/347/232/204/344/273/273/345/212/241/351/227/255/347/216/257/346/210/226/347/256/200/345/215/225/344/273/273/345/212/241//346/211/271/351/207/217/346/236/204/345/273/272/346/211/200/346/234/211/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/344/271/213/350/257/270/344/273/273/345/212/241/344/271/213/346/200/273/344/273/273/345/212/241/351/227/255/347/216/257.js +0 -27
- package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/03-/346/236/204/345/273/272/345/245/275/347/232/204/344/273/273/345/212/241/351/227/255/347/216/257/346/210/226/347/256/200/345/215/225/344/273/273/345/212/241//346/236/204/345/273/272/345/275/223/345/211/215/346/255/243/347/235/200/346/211/213/345/274/200/345/217/221/344/271/213/345/224/257/344/270/200/346/216/222/347/211/210/344/270/216/351/205/215/350/211/262/346/226/271/346/241/210/344/271/213/346/200/273/344/273/273/345/212/241/351/227/255/347/216/257.js +0 -131
- package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/99-/350/276/205/345/212/251/345/267/245/345/205/267/351/233/206/get-plugins-for-one-postcss-instance.js +0 -65
- package/--gulp-/351/207/207/347/224/250require/345/207/275/346/225/260/347/232/204/347/211/210/346/234/254/index.js +0 -34
- package/--gulpfile.js +0 -1
@@ -1,219 +0,0 @@
|
|
1
|
-
const 彩色粉笔工具 = require('chalk')
|
2
|
-
|
3
|
-
const 路径工具 = require('path')
|
4
|
-
|
5
|
-
const { readFileSync, writeFileSync } = require('fs')
|
6
|
-
const 删除文件 = require('del')
|
7
|
-
|
8
|
-
const {
|
9
|
-
mkdirpSync,
|
10
|
-
} = require('fs-extra')
|
11
|
-
|
12
|
-
const {
|
13
|
-
parallel: 构建并行运转以下Gulp任务之总任务,
|
14
|
-
} = require('gulp')
|
15
|
-
|
16
|
-
|
17
|
-
const 构建一个用于将Markdown内容字符串转换为HTML字符串的转换器 = require('@wulechuan/generate-html-via-markdown/源代码/转换器之构建器')
|
18
|
-
|
19
|
-
|
20
|
-
const {
|
21
|
-
以文件名称为索引之所有文件简易描述项之字典,
|
22
|
-
获取某一已发布之文件之完整内容字符串,
|
23
|
-
} = require('../../../源代码/发布的源代码/本工具作为其他-javascript-工具之依赖模块时的代码')
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
const { join: 遵循POSIX标准拼接路径 } = 路径工具.posix
|
30
|
-
|
31
|
-
|
32
|
-
const exampleSourceMarkdonwFilesFolderPath = './文档/文章排版与配色效果示例集/原始的-markdown-格式的文章'
|
33
|
-
const exampleSourceMarkdownFileNameEnUS = 'theming-example-article.en-US.md'
|
34
|
-
const exampleSourceMarkdownFileNameZhHansCN = 'theming-example-article.zh-hans-CN.md'
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
const 本项目之根文件夹之绝对路径 = process.cwd().replace(/\\/g, '/')
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
const sourceMarkdownFileEnUS = 遵循POSIX标准拼接路径(
|
45
|
-
exampleSourceMarkdonwFilesFolderPath,
|
46
|
-
exampleSourceMarkdownFileNameEnUS
|
47
|
-
)
|
48
|
-
|
49
|
-
const sourceMarkdownFileZhHansCN = 遵循POSIX标准拼接路径(
|
50
|
-
exampleSourceMarkdonwFilesFolderPath,
|
51
|
-
exampleSourceMarkdownFileNameZhHansCN
|
52
|
-
)
|
53
|
-
|
54
|
-
const 将Markdown内容字符串转换为HTML内容的转换器 = 构建一个用于将Markdown内容字符串转换为HTML字符串的转换器({
|
55
|
-
peer依赖包提供用以获取某特定文件之完整内容字符串之函数: 获取某一已发布之文件之完整内容字符串,
|
56
|
-
peer依赖包提供的以文件名称为索引之所有文件简易描述项之字典: 以文件名称为索引之所有文件简易描述项之字典,
|
57
|
-
不应采纳本工具之源代码之缓存版本以应对本工具研发阶段之要求: false,
|
58
|
-
应输出MarkdownIt生态工具集之原始产出以便验证之而非输出正式内容: false,
|
59
|
-
})
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
module.exports = function 构建一个任务闭环以将一Markdown文件转换成HTML文件({
|
66
|
-
欲采用的已发布之层叠样式表文件之名称: 须嵌入HTML文件的层叠样式表文件之文件名称,
|
67
|
-
产出诸HTML文件之存放文件夹之相对路径: 存放示例性HTML文件之文件夹之相对路径,
|
68
|
-
自汉语文章产出之HTML文件之名称: 汉语版HTML文件之文件名称,
|
69
|
-
自英国话文章产出之HTML文件之名称: 英国话版的HTML文件之文件名称,
|
70
|
-
须额外嵌入各产出之HTML文件之文件之相对路径之列表: 其他须一并嵌入HTML文件的Javascript文件之相对路径集,
|
71
|
-
}) {
|
72
|
-
mkdirpSync(存放示例性HTML文件之文件夹之相对路径)
|
73
|
-
|
74
|
-
const 其他须一并嵌入HTML文件的Javascript文件之绝对路径集 = 其他须一并嵌入HTML文件的Javascript文件之相对路径集.map(
|
75
|
-
某相对路径 => 遵循POSIX标准拼接路径(本项目之根文件夹之绝对路径, 某相对路径)
|
76
|
-
)
|
77
|
-
|
78
|
-
let 不应采用任何由本工具内建之层叠样式表 = false
|
79
|
-
let 须要须嵌入HTML文件的各文件之绝对路径集 = []
|
80
|
-
|
81
|
-
if (须嵌入HTML文件的层叠样式表文件之文件名称) {
|
82
|
-
不应采用任何由本工具内建之层叠样式表 = true
|
83
|
-
|
84
|
-
须要须嵌入HTML文件的各文件之绝对路径集.push(
|
85
|
-
遵循POSIX标准拼接路径(
|
86
|
-
本项目之根文件夹之绝对路径,
|
87
|
-
'源代码/发布的源代码/文章排版与配色方案集/层叠样式表',
|
88
|
-
须嵌入HTML文件的层叠样式表文件之文件名称
|
89
|
-
)
|
90
|
-
)
|
91
|
-
|
92
|
-
if (须嵌入HTML文件的层叠样式表文件之文件名称.match(/--with-toc\.(min\.)?css$/)) {
|
93
|
-
须要须嵌入HTML文件的各文件之绝对路径集.push(
|
94
|
-
遵循POSIX标准拼接路径(
|
95
|
-
本项目之根文件夹之绝对路径,
|
96
|
-
'源代码/发布的源代码/文章排版与配色方案集/javascript',
|
97
|
-
'table-of-contents-and-back-to-top-anchor-behaviors.min.js'
|
98
|
-
)
|
99
|
-
)
|
100
|
-
}
|
101
|
-
}
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
须要须嵌入HTML文件的各文件之绝对路径集 = [
|
106
|
-
...须要须嵌入HTML文件的各文件之绝对路径集,
|
107
|
-
...其他须一并嵌入HTML文件的Javascript文件之绝对路径集,
|
108
|
-
]
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
const 汉语版HTML文件之绝对路径 = 遵循POSIX标准拼接路径(
|
113
|
-
本项目之根文件夹之绝对路径,
|
114
|
-
存放示例性HTML文件之文件夹之相对路径,
|
115
|
-
汉语版HTML文件之文件名称
|
116
|
-
)
|
117
|
-
|
118
|
-
const 英国话版HTML文件之绝对路径 = 遵循POSIX标准拼接路径(
|
119
|
-
本项目之根文件夹之绝对路径,
|
120
|
-
存放示例性HTML文件之文件夹之相对路径,
|
121
|
-
英国话版的HTML文件之文件名称
|
122
|
-
)
|
123
|
-
|
124
|
-
const 一切可能存在的旧输出文件之绝对路径集 = [
|
125
|
-
汉语版HTML文件之绝对路径,
|
126
|
-
英国话版HTML文件之绝对路径,
|
127
|
-
]
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
const 构建所有HTML文件 = 构建并行运转以下Gulp任务之总任务(
|
134
|
-
构建汉语版的HTML文件,
|
135
|
-
构建英国话版的HTML文件
|
136
|
-
)
|
137
|
-
|
138
|
-
return {
|
139
|
-
sourceGlobsToWatch: [
|
140
|
-
sourceMarkdownFileEnUS,
|
141
|
-
sourceMarkdownFileZhHansCN,
|
142
|
-
'源代码/原始的源代码/用于设计文章排版与配色方案的代码/stylus/文章排版和配色样式之零件库/**/*.styl',
|
143
|
-
...其他须一并嵌入HTML文件的Javascript文件之绝对路径集,
|
144
|
-
],
|
145
|
-
taskBodies: {
|
146
|
-
cleanOldOutputs: 删除所有旧版HTML文件,
|
147
|
-
buildNewOutputs: 构建所有HTML文件,
|
148
|
-
},
|
149
|
-
}
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
function 删除所有旧版HTML文件() {
|
154
|
-
console.log(`\n${彩色粉笔工具.red('Deleting these files if exist')}:`)
|
155
|
-
一切可能存在的旧输出文件之绝对路径集.forEach(filePath => console.log(' ', 彩色粉笔工具.yellow(filePath)))
|
156
|
-
return 删除文件(一切可能存在的旧输出文件之绝对路径集)
|
157
|
-
}
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
function 构建汉语版的HTML文件(通知Gulp该任务结束之回调函数) {
|
162
|
-
writeFileSync(
|
163
|
-
汉语版HTML文件之绝对路径,
|
164
|
-
|
165
|
-
将Markdown内容字符串转换为HTML内容的转换器(
|
166
|
-
readFileSync(sourceMarkdownFileZhHansCN).toString(),
|
167
|
-
|
168
|
-
{
|
169
|
-
须在控制台打印详尽细节: false,
|
170
|
-
|
171
|
-
对HTML做进一步处理之阶段: {
|
172
|
-
不应采用任何由本工具内建之层叠样式表,
|
173
|
-
凡内容须注入产出之HTML中之所有外来文件: {
|
174
|
-
应禁止采用Require语句对这些文件之缓存内容以确保计算机进程反复读取各文件时恒取用各文件最新之内容全文: true,
|
175
|
-
依次给出之外来文件之绝对路径序列: 须要须嵌入HTML文件的各文件之绝对路径集,
|
176
|
-
},
|
177
|
-
},
|
178
|
-
|
179
|
-
杂项: {
|
180
|
-
控制台打印信息须改用英国话: false,
|
181
|
-
},
|
182
|
-
}
|
183
|
-
)
|
184
|
-
)
|
185
|
-
|
186
|
-
通知Gulp该任务结束之回调函数()
|
187
|
-
}
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
function 构建英国话版的HTML文件(通知Gulp该任务结束之回调函数) {
|
192
|
-
writeFileSync(
|
193
|
-
英国话版HTML文件之绝对路径,
|
194
|
-
|
195
|
-
将Markdown内容字符串转换为HTML内容的转换器(
|
196
|
-
readFileSync(sourceMarkdownFileEnUS).toString(),
|
197
|
-
|
198
|
-
{
|
199
|
-
须在控制台打印详尽细节: false,
|
200
|
-
|
201
|
-
对HTML做进一步处理之阶段: {
|
202
|
-
不应采用任何由本工具内建之层叠样式表,
|
203
|
-
产出之HTML文件之HTML标签之语言属性之取值: 'en-US',
|
204
|
-
凡内容须注入产出之HTML中之所有外来文件: {
|
205
|
-
应禁止采用Require语句对这些文件之缓存内容以确保计算机进程反复读取各文件时恒取用各文件最新之内容全文: true,
|
206
|
-
依次给出之外来文件之绝对路径序列: 须要须嵌入HTML文件的各文件之绝对路径集,
|
207
|
-
},
|
208
|
-
},
|
209
|
-
|
210
|
-
杂项: {
|
211
|
-
控制台打印信息须改用英国话: true,
|
212
|
-
},
|
213
|
-
}
|
214
|
-
)
|
215
|
-
)
|
216
|
-
|
217
|
-
通知Gulp该任务结束之回调函数()
|
218
|
-
}
|
219
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
const 彩色粉笔工具 = require('chalk')
|
2
|
-
|
3
|
-
const {
|
4
|
-
诸排版与配色方案之构建任务各自特有之配置之汇总列表,
|
5
|
-
} = require('../../../00-任务之配置项集/针对构建所有须发布之层叠样式表之任务的')
|
6
|
-
|
7
|
-
|
8
|
-
module.exports = function getTaskConfigByEntryStylusFileSubPath(作为编译入口之Stylus文件之内层路径) {
|
9
|
-
let theOnlyTaskSpecificConfig = null
|
10
|
-
|
11
|
-
if (!作为编译入口之Stylus文件之内层路径) {
|
12
|
-
theOnlyTaskSpecificConfig = 诸排版与配色方案之构建任务各自特有之配置之汇总列表[0]
|
13
|
-
} else {
|
14
|
-
const matchedTaskConfigs = 诸排版与配色方案之构建任务各自特有之配置之汇总列表.filter(taskConfig => {
|
15
|
-
return taskConfig.作为编译入口之Stylus文件之内层路径 === 作为编译入口之Stylus文件之内层路径
|
16
|
-
})
|
17
|
-
|
18
|
-
const matchedTaskConfigsCount = matchedTaskConfigs.length
|
19
|
-
|
20
|
-
if (matchedTaskConfigsCount !== 1) {
|
21
|
-
throw new RangeError(`${matchedTaskConfigsCount} theme tasks matched by "${
|
22
|
-
彩色粉笔工具.yellow(作为编译入口之Stylus文件之内层路径)
|
23
|
-
}".\n ${彩色粉笔工具.red('But 1 and only 1 expected.')}`)
|
24
|
-
}
|
25
|
-
|
26
|
-
theOnlyTaskSpecificConfig = matchedTaskConfigs[0]
|
27
|
-
}
|
28
|
-
|
29
|
-
return theOnlyTaskSpecificConfig
|
30
|
-
}
|
@@ -1,71 +0,0 @@
|
|
1
|
-
const 路径工具 = require('path')
|
2
|
-
|
3
|
-
const {
|
4
|
-
所涉一切文件甄选描述符之公共根文件夹之相对路径,
|
5
|
-
发布的层叠样式表之根文件夹之相对路径,
|
6
|
-
所有应用场景之入口Stylus文件相对路径之公共起始部分,
|
7
|
-
产出之一切层叠样式表文件之名称之共有前缀,
|
8
|
-
sharedSourceRelativeGlobs,
|
9
|
-
extraSourceGlobsToWatch,
|
10
|
-
} = require('../../../00-任务之配置项集/针对构建所有须发布之层叠样式表之任务的')
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
const { join: 遵循POSIX标准拼接路径 } = 路径工具.posix
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
module.exports = function mergeSharedTaskConfigWithOneSpecificTaskConfig(specificTaskConfig) {
|
19
|
-
const {
|
20
|
-
作为编译入口之Stylus文件之内层路径,
|
21
|
-
编译Stylus最终产出之层叠样式表文件之名称之特征部分,
|
22
|
-
shouldNotOutputUncompressedVersion,
|
23
|
-
不必产出压缩过的层叠样式表和压缩过的Javascript文件,
|
24
|
-
shouldDiscardMostCommentsEvenIfNotCompressCSS,
|
25
|
-
} = specificTaskConfig
|
26
|
-
|
27
|
-
if (shouldNotOutputUncompressedVersion && 不必产出压缩过的层叠样式表和压缩过的Javascript文件) {
|
28
|
-
throw new RangeError(`Why don't we output anything for "${作为编译入口之Stylus文件之内层路径}"?`)
|
29
|
-
}
|
30
|
-
|
31
|
-
const 作为编译入口之Stylus文件之内层路径2 = `${作为编译入口之Stylus文件之内层路径}.styl`
|
32
|
-
const outputFileBaseName = `${产出之一切层叠样式表文件之名称之共有前缀}${编译Stylus最终产出之层叠样式表文件之名称之特征部分}`
|
33
|
-
|
34
|
-
const specificSourceRelativeGlobs = [
|
35
|
-
遵循POSIX标准拼接路径(所有应用场景之入口Stylus文件相对路径之公共起始部分, 作为编译入口之Stylus文件之内层路径2),
|
36
|
-
]
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
return {
|
41
|
-
// descriptionOfCoreTask,
|
42
|
-
descriptionOfInputsOfCoreTask: 作为编译入口之Stylus文件之内层路径2,
|
43
|
-
|
44
|
-
sourceGlobs: {
|
45
|
-
rootFolderPath: 所涉一切文件甄选描述符之公共根文件夹之相对路径,
|
46
|
-
|
47
|
-
relativeGlobsSharedWithOtherTaskCycles: sharedSourceRelativeGlobs,
|
48
|
-
relativeGlobsSpecificallyForThisTaskCycle: specificSourceRelativeGlobs,
|
49
|
-
|
50
|
-
extraSourceGlobsToWatch,
|
51
|
-
},
|
52
|
-
|
53
|
-
outputFiles: {
|
54
|
-
rootFolderPath: 发布的层叠样式表之根文件夹之相对路径,
|
55
|
-
|
56
|
-
forSingleOrTwoOutputFiles: {
|
57
|
-
fileBaseName: outputFileBaseName,
|
58
|
-
fileExtWithoutDot: 'css',
|
59
|
-
},
|
60
|
-
},
|
61
|
-
|
62
|
-
compressions: {
|
63
|
-
shouldNotOutputUncompressedVersion,
|
64
|
-
shouldNotOutputCompressedVersion: 不必产出压缩过的层叠样式表和压缩过的Javascript文件,
|
65
|
-
},
|
66
|
-
|
67
|
-
extraOptions: {
|
68
|
-
shouldDiscardMostCommentsEvenIfNotCompressCSS,
|
69
|
-
},
|
70
|
-
}
|
71
|
-
}
|
@@ -1,54 +0,0 @@
|
|
1
|
-
const postCSS = require('gulp-postcss')
|
2
|
-
const gulpStylus = require('gulp-stylus')
|
3
|
-
|
4
|
-
const {
|
5
|
-
createATaskCycle,
|
6
|
-
} = require('@wulechuan/gulp-classical-task-cycle')
|
7
|
-
|
8
|
-
const getPluginsForOnePostCSSInstance
|
9
|
-
= require('../../../99-辅助工具集/get-plugins-for-one-postcss-instance')
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
module.exports = function createOneTaskCycleForCompilingStylusOfOneTheme(mergedTaskConfig) {
|
14
|
-
const {
|
15
|
-
descriptionOfCoreTask,
|
16
|
-
descriptionOfInputsOfCoreTask,
|
17
|
-
sourceGlobs,
|
18
|
-
outputFiles,
|
19
|
-
compressions, // is a required property here, for simplicity
|
20
|
-
|
21
|
-
extraOptions: {
|
22
|
-
shouldDiscardMostCommentsEvenIfNotCompressCSS,
|
23
|
-
},
|
24
|
-
} = mergedTaskConfig
|
25
|
-
|
26
|
-
const _shouldDiscardComments = !!shouldDiscardMostCommentsEvenIfNotCompressCSS
|
27
|
-
|
28
|
-
const compressorOptions1 = getPluginsForOnePostCSSInstance(false, _shouldDiscardComments)
|
29
|
-
const compressorOptions2 = getPluginsForOnePostCSSInstance(true)
|
30
|
-
|
31
|
-
const compressor1 = postCSS
|
32
|
-
const compressor2 = postCSS
|
33
|
-
|
34
|
-
return createATaskCycle({
|
35
|
-
descriptionOfCoreTask,
|
36
|
-
descriptionOfInputsOfCoreTask,
|
37
|
-
|
38
|
-
sourceGlobs,
|
39
|
-
outputFiles,
|
40
|
-
firstPipeForProcessingSources: gulpStylus,
|
41
|
-
|
42
|
-
compressions: {
|
43
|
-
...compressions,
|
44
|
-
|
45
|
-
compressor1IsEnabled: _shouldDiscardComments,
|
46
|
-
compressor1,
|
47
|
-
compressorOptions1,
|
48
|
-
|
49
|
-
compressor2IsDisabled: false,
|
50
|
-
compressor2,
|
51
|
-
compressorOptions2,
|
52
|
-
},
|
53
|
-
})
|
54
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
const mergeSharedTaskConfigWithOneSpecificTaskConfig
|
2
|
-
= require('./1-merge-shared-task-config-and-one-specific-task-config')
|
3
|
-
|
4
|
-
const createOneTaskCycleViaOneMergedTaskConfig
|
5
|
-
= require('./2-create-a-task-cycle-via-a-merged-task-config')
|
6
|
-
|
7
|
-
module.exports = function createOneTaskCycleViaOneSpecificTaskConfig(specificTaskConfig) {
|
8
|
-
const mergedTaskConfig = mergeSharedTaskConfigWithOneSpecificTaskConfig(specificTaskConfig)
|
9
|
-
const taskCycle = createOneTaskCycleViaOneMergedTaskConfig(mergedTaskConfig)
|
10
|
-
return taskCycle
|
11
|
-
}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
const getSpecificTaskConfig
|
2
|
-
= require('./0-get-a-specific-task-config-by-an-entry-stylus-file-sub-path')
|
3
|
-
|
4
|
-
const createOneTaskCycleViaOneSpecificTaskConfig
|
5
|
-
= require('./3-create-a-task-cycle-via-a-specific-task-config')
|
6
|
-
|
7
|
-
|
8
|
-
module.exports = function createOneTaskCycleViaOneEntryStylusFileSubPath(作为编译入口之Stylus文件之内层路径) {
|
9
|
-
const specificTaskConfig = getSpecificTaskConfig(作为编译入口之Stylus文件之内层路径)
|
10
|
-
const taskCycle = createOneTaskCycleViaOneSpecificTaskConfig(specificTaskConfig)
|
11
|
-
return taskCycle
|
12
|
-
}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
const {
|
2
|
-
发布的配套Javascript之根文件夹之相对路径,
|
3
|
-
} = require('../../../../本项目之全局配置项集')
|
4
|
-
|
5
|
-
const 构建一个任务闭环用以复制一组Javascript文件
|
6
|
-
= require('../../较为通用的/构建一个任务闭环用以复制一组-javascript-文件')
|
7
|
-
|
8
|
-
module.exports = 构建一个任务闭环用以复制一组Javascript文件({
|
9
|
-
descriptionOfInputsOfCoreTask: '源代码/原始的源代码/用于设计文章排版与配色方案的代码/js/.eslint.js',
|
10
|
-
|
11
|
-
sourceGlobs: {
|
12
|
-
rootFolderPath: './源代码/原始的源代码/用于设计文章排版与配色方案的代码/js',
|
13
|
-
|
14
|
-
relativeGlobsSpecificallyForThisTaskCycle: [
|
15
|
-
'.eslintrc.js',
|
16
|
-
],
|
17
|
-
},
|
18
|
-
|
19
|
-
outputFiles: {
|
20
|
-
rootFolderPath: 发布的配套Javascript之根文件夹之相对路径,
|
21
|
-
|
22
|
-
forSingleOrTwoOutputFiles: {
|
23
|
-
fileBaseName: '.eslintrc',
|
24
|
-
fileExtWithoutDot: 'js',
|
25
|
-
},
|
26
|
-
},
|
27
|
-
|
28
|
-
compressions: {
|
29
|
-
shouldNotOutputCompressedVersion: true,
|
30
|
-
},
|
31
|
-
})
|
@@ -1,32 +0,0 @@
|
|
1
|
-
const {
|
2
|
-
createATaskCycle,
|
3
|
-
} = require('@wulechuan/gulp-classical-task-cycle')
|
4
|
-
|
5
|
-
const gulpTerser = require('gulp-terser')
|
6
|
-
|
7
|
-
module.exports = function 构建一个任务闭环用以复制一组Javascript文件(options) {
|
8
|
-
const {
|
9
|
-
descriptionOfCoreTask,
|
10
|
-
descriptionOfInputsOfCoreTask,
|
11
|
-
sourceGlobs,
|
12
|
-
outputFiles,
|
13
|
-
compressions, // is a required property here, for simplicity
|
14
|
-
} = options
|
15
|
-
|
16
|
-
return createATaskCycle({
|
17
|
-
descriptionOfCoreTask,
|
18
|
-
descriptionOfInputsOfCoreTask,
|
19
|
-
|
20
|
-
sourceGlobs,
|
21
|
-
outputFiles,
|
22
|
-
|
23
|
-
compressions: {
|
24
|
-
...compressions,
|
25
|
-
|
26
|
-
compressor2: gulpTerser,
|
27
|
-
compressorOptions2: {
|
28
|
-
// nothing yet
|
29
|
-
},
|
30
|
-
},
|
31
|
-
})
|
32
|
-
}
|
@@ -1,90 +0,0 @@
|
|
1
|
-
const 彩色粉笔工具 = require('chalk')
|
2
|
-
|
3
|
-
const {
|
4
|
-
parallel: 构建并行运转以下Gulp任务之总任务,
|
5
|
-
} = require('gulp')
|
6
|
-
|
7
|
-
const {
|
8
|
-
create3HighOrderTasksUponMultipleTaskCycles,
|
9
|
-
} = require('@wulechuan/gulp-classical-task-cycle')
|
10
|
-
|
11
|
-
const 构建一个任务闭环以将一Markdown文件转换成HTML文件
|
12
|
-
= require('../02-用于构建任务闭环的工具集/用于构建效果呈现示例之文章的/构建一个任务闭环以创建效果呈现示例之文章')
|
13
|
-
|
14
|
-
const 构建简单任务用以将某示例性HTML配套的插图等资源复制到目标文件夹
|
15
|
-
= require('../01-用于构建简单任务的工具集/构建简单任务用以将某示例性-html-配套的插图等资源复制到目标文件夹')
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
const 产出之HTML文件之名称_汉语文章配以亮色方案 = 'example.zh-hans-cn.default-light-colored-theme.html'
|
20
|
-
const 产出之HTML文件之名称_汉语文章配以暗色方案 = 'example.zh-hans-cn.default-dark-colored-theme.html'
|
21
|
-
|
22
|
-
const 产出之HTML文件之名称_英国话文章配以亮色方案 = 'example.en-us.default-light-colored-theme.html'
|
23
|
-
const 产出之HTML文件之名称_英国话文章配以暗色方案 = 'example.en-us.default-dark-colored-theme.html'
|
24
|
-
|
25
|
-
const 须囊括于本工具发布内容中之HTML范文之_凡配以亮色方案者_之存放文件夹之相对路径 = './文档/文章排版与配色效果示例集/以-html-格式渲染好的文章成品/html'
|
26
|
-
const 须囊括于本工具发布内容中之HTML范文之_凡配以暗色方案者_之存放文件夹之相对路径 = './文档/文章排版与配色效果示例集/以-html-格式渲染好的文章成品/html'
|
27
|
-
const 不囊括于本工具发布内容之中而仅作截图辅助工具之用之所有HTML文件之存放文件夹之相对路径 = './测试集/产生的临时文件/示例性-html-文件集(均嵌有半自动化截图辅助逻辑)'
|
28
|
-
|
29
|
-
const 须额外嵌入各产出之HTML文件之文件之相对路径之列表 = [
|
30
|
-
'文档/文章排版与配色效果示例集/示例性-html-文章的-title-标签之内容自动配置之逻辑.js',
|
31
|
-
'文档/文章排版与配色效果示例集/示例性-html-文章的截图半自动化辅助逻辑.js',
|
32
|
-
]
|
33
|
-
|
34
|
-
const 用于构建各范文之诸任务闭环之列表 = [
|
35
|
-
构建一个任务闭环以将一Markdown文件转换成HTML文件({
|
36
|
-
// 欲采用的已发布之层叠样式表文件之名称: 'wulechuan-styles-for-html-via-markdown.default--with-toc.min.css',
|
37
|
-
产出诸HTML文件之存放文件夹之相对路径: 须囊括于本工具发布内容中之HTML范文之_凡配以亮色方案者_之存放文件夹之相对路径,
|
38
|
-
自汉语文章产出之HTML文件之名称: 产出之HTML文件之名称_汉语文章配以亮色方案,
|
39
|
-
自英国话文章产出之HTML文件之名称: 产出之HTML文件之名称_英国话文章配以亮色方案,
|
40
|
-
须额外嵌入各产出之HTML文件之文件之相对路径之列表: [],
|
41
|
-
}),
|
42
|
-
构建一个任务闭环以将一Markdown文件转换成HTML文件({
|
43
|
-
欲采用的已发布之层叠样式表文件之名称: 'wulechuan-styles-for-html-via-markdown.default-dark--with-toc.min.css',
|
44
|
-
产出诸HTML文件之存放文件夹之相对路径: 须囊括于本工具发布内容中之HTML范文之_凡配以暗色方案者_之存放文件夹之相对路径,
|
45
|
-
自汉语文章产出之HTML文件之名称: 产出之HTML文件之名称_汉语文章配以暗色方案,
|
46
|
-
自英国话文章产出之HTML文件之名称: 产出之HTML文件之名称_英国话文章配以暗色方案,
|
47
|
-
须额外嵌入各产出之HTML文件之文件之相对路径之列表: [],
|
48
|
-
}),
|
49
|
-
|
50
|
-
/**
|
51
|
-
* 以下两组任务构建的 HTML 文件看似与上方任务构建的 HTML 文件无异。
|
52
|
-
* 实则下方的 HTML 注入了额外的 Javascript 代码,用以辅助本人在为各 HTML 制作大量截图时提供便利。
|
53
|
-
*/
|
54
|
-
构建一个任务闭环以将一Markdown文件转换成HTML文件({
|
55
|
-
// 欲采用的已发布之层叠样式表文件之名称: 'wulechuan-styles-for-html-via-markdown.default--with-toc.min.css',
|
56
|
-
产出诸HTML文件之存放文件夹之相对路径: 不囊括于本工具发布内容之中而仅作截图辅助工具之用之所有HTML文件之存放文件夹之相对路径,
|
57
|
-
自汉语文章产出之HTML文件之名称: 产出之HTML文件之名称_汉语文章配以亮色方案,
|
58
|
-
自英国话文章产出之HTML文件之名称: 产出之HTML文件之名称_英国话文章配以亮色方案,
|
59
|
-
须额外嵌入各产出之HTML文件之文件之相对路径之列表,
|
60
|
-
}),
|
61
|
-
构建一个任务闭环以将一Markdown文件转换成HTML文件({
|
62
|
-
欲采用的已发布之层叠样式表文件之名称: 'wulechuan-styles-for-html-via-markdown.default-dark--with-toc.min.css',
|
63
|
-
产出诸HTML文件之存放文件夹之相对路径: 不囊括于本工具发布内容之中而仅作截图辅助工具之用之所有HTML文件之存放文件夹之相对路径,
|
64
|
-
自英国话文章产出之HTML文件之名称: 产出之HTML文件之名称_英国话文章配以暗色方案,
|
65
|
-
自汉语文章产出之HTML文件之名称: 产出之HTML文件之名称_汉语文章配以暗色方案,
|
66
|
-
须额外嵌入各产出之HTML文件之文件之相对路径之列表,
|
67
|
-
}),
|
68
|
-
]
|
69
|
-
|
70
|
-
|
71
|
-
const 将所有须产出之HTML文件对应之插图等媒体资源复制到位之任务之本体函数 = 构建并行运转以下Gulp任务之总任务(
|
72
|
-
...[
|
73
|
-
须囊括于本工具发布内容中之HTML范文之_凡配以亮色方案者_之存放文件夹之相对路径,
|
74
|
-
须囊括于本工具发布内容中之HTML范文之_凡配以暗色方案者_之存放文件夹之相对路径,
|
75
|
-
不囊括于本工具发布内容之中而仅作截图辅助工具之用之所有HTML文件之存放文件夹之相对路径,
|
76
|
-
].map(构建简单任务用以将某示例性HTML配套的插图等资源复制到目标文件夹)
|
77
|
-
)
|
78
|
-
|
79
|
-
const 并驾齐驱构建多篇文章之HTML之诸任务之总任务闭环 = create3HighOrderTasksUponMultipleTaskCycles({
|
80
|
-
taskCyclesInPallarel: 用于构建各范文之诸任务闭环之列表,
|
81
|
-
|
82
|
-
beforeBuildingEveryThingOnce: function() {
|
83
|
-
console.log(`\n正在采用默认主题${彩色粉笔工具.black.bgBlue('构建所有语言版本的示例文档')}的 HTML 文件`)
|
84
|
-
},
|
85
|
-
})
|
86
|
-
|
87
|
-
module.exports = {
|
88
|
-
将所有须产出之HTML文件对应之插图等媒体资源复制到位之任务之本体函数,
|
89
|
-
并驾齐驱构建多篇文章之HTML之诸任务之总任务闭环,
|
90
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
const {
|
2
|
-
create3HighOrderTasksUponMultipleTaskCycles,
|
3
|
-
} = require('@wulechuan/gulp-classical-task-cycle')
|
4
|
-
|
5
|
-
const createOneTaskCycleViaOneSpecificTaskConfig
|
6
|
-
= require('../02-用于构建任务闭环的工具集/用于生成可发布之源代码的/处理-stylus-文件并构建出-css-文件/3-create-a-task-cycle-via-a-specific-task-config')
|
7
|
-
|
8
|
-
const javascriptTaskCyclesOfAllThemes
|
9
|
-
= require('../02-用于构建任务闭环的工具集/用于生成可发布之源代码的/处理并构建出-javascript-文件/为所有须发布的-javascript-文件的构建任务逐一构建出任务闭环')
|
10
|
-
|
11
|
-
const taskCycleOfCopyingESLintrcToDist
|
12
|
-
= require('../02-用于构建任务闭环的工具集/用于生成可发布之源代码的/处理并构建出-javascript-文件/构建一个任务闭环用以复制发布内容专属的-eslintrc-文件')
|
13
|
-
|
14
|
-
const {
|
15
|
-
诸排版与配色方案之构建任务各自特有之配置之汇总列表,
|
16
|
-
} = require('../00-任务之配置项集/针对构建所有须发布之层叠样式表之任务的')
|
17
|
-
|
18
|
-
|
19
|
-
const allTaskCyclesForAllThemes = [
|
20
|
-
...诸排版与配色方案之构建任务各自特有之配置之汇总列表.map(createOneTaskCycleViaOneSpecificTaskConfig),
|
21
|
-
...javascriptTaskCyclesOfAllThemes,
|
22
|
-
taskCycleOfCopyingESLintrcToDist,
|
23
|
-
]
|
24
|
-
|
25
|
-
module.exports = create3HighOrderTasksUponMultipleTaskCycles({
|
26
|
-
taskCyclesInPallarel: allTaskCyclesForAllThemes,
|
27
|
-
})
|