You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You'll need to reference some (or all) of these problems in the advanced tutorial for Anki Themes) — especially the "Github dependencies" and "NPM commands" which should be to-the-point and leave no need for thinking. Remember to hide complexity when writing the docs.
npm can install and run your "scripts". npx seems to allow you to run CLI commands locally (like this website builder).
I tend towards installing packages locally (not globally)
⚠️ Neither npm update, nor npm install <package> will update to the latest version if you're using ~ or ^ semver ranges!!! Why? Read on ...
GitHub repositories that are dependencies don't update at all!! 😔
Make sure you change the #commit-number on the end of the dependency url. You'll also need to explicitly update the package npm update print-first-css.
Explaining some of the build problems
You'll need to reference some (or all) of these problems in the advanced tutorial for Anki Themes) — especially the "Github dependencies" and "NPM commands" which should be to-the-point and leave no need for thinking. Remember to hide complexity when writing the docs.
The Pandoc build script is a little hard to remember:
The Pandoc documentation is pretty verbose, and I struggle with it. I also want to be aware of security concerns with NPM such as here.
--template=./source/pandoc/template.html
(you can use variables also)-s
or--standalone
flag to output a HTML document.-c
or--css
flag!--embed-resources
: a standalone document with no external dependencies?NPM commands: Updating your packages
npm outdated
for regular packages (it won't show GitHub dependancies) andnpm update
(why won't it update to latest version?)major
version!npm list --depth 1
will list package dependencies (1 level deep)Such a lot of reading, for such a simple thing 🤬😩
Github dependencies: It get's worse!
GitHub repositories that are dependencies don't update at all!! 😔
Use a makefile and watch changes?
An interesting approach to auto-load changes for
.less
files in this article.I think I was using the Marked App to compile the
specimen.md
andstyleguide.md
files:print-first-markdown
css file to the appyaml
codeMarked Style: print-first-markdown
.highlight.js
to render code blocksThe text was updated successfully, but these errors were encountered: