Go to file
2024-07-12 23:40:26 -04:00
node_modules/prismjs Delete .DS_Store files 2024-07-12 23:40:26 -04:00
public More updates 2024-07-12 23:35:29 -04:00
src Delete .DS_Store files 2024-07-12 23:40:26 -04:00
.gitignore Updates 2024-07-11 21:26:05 -04:00
ds2 core.sublime-project Initial Commit 2024-07-11 18:40:11 -04:00
ds2 core.sublime-workspace More updates 2024-07-12 23:35:29 -04:00
LICENSE Updates 2024-07-11 21:26:05 -04:00
package-lock.json Initial Commit 2024-07-11 18:40:11 -04:00
package.json Initial Commit 2024-07-11 18:40:11 -04:00
prepros.config More updates 2024-07-12 23:35:29 -04:00
Readme.md Initial Commit 2024-07-11 18:40:11 -04:00

DS2 Core

About the content variable

The content variable in _config.pug defines your array of patterns. It is made up of the following attributes:

  • name - the hypenated name of the pattern
  • status - this should be one of the statuses from your status array
  • display - (optional) if present this will be displayed, as is, instead of the name
  • template - (optional) [ pug (default) | md ] the file type of a pattern's index file
  • files - (optional) an array of patterns under the parent.

By changing and resaving the _config.pug file, (our change is often adding or removing a random space) all of the pug patterns will recompile. Note that md templates will not recompile automatically when config is saved and updated as markdown files don't have an include.