presentation | ||
---|---|---|
|
This presentation is both a markdown guide and an online presentation and we welcome contributions!
You can also find a video version of this presentation.
- Utility - Iterative / Organisation Centric / Streamlined
- Contribution - "Alive" / Low barriers
- Context - Minimum Viable Audit / Reporting / Audit Agreement
- Features: navigate, edit, organise, (soon) contribute
- Prototype: command line tool, text editor, browser preview.
- Next? You tell us.
- Lightweight:
- Use text for everything
- Keep history
- Not a CMS.
- Content as code:
- Markdown, Git, Local Static Generation
- Separate content from code.
- Transclusion
Prerequisites:
- node v6
- npm v5.3.0
npm i -g npm
- docsmith v0.5.3:
npm i -g docsmith
Use safetag init
only on first use.
- Change your current directory to where you'd like your workspace to be
- You'll have to confirm the default options.
- This will setup a
~/.content
folder where content packages will be installed. - The workspace will link to this folder.
- Use
safetag start
to start a work session
- Open your browser to the local address specified (http://localhost:8081)
- Start editing content in the workspace
- Bring your own favorite editor.
- Press the down arrow key for some tips.
v1.18.0
markdown-preview-enhanced
language-markdown
Refer to a Markdown manual for the basics of the syntax.
There is some special syntax.
Transclusion is a way to reference content snippets (or more) into a document.
index.md
Hi :[](name)!
name.md
Alice
Will be rendered as:
Hi Alice!
- Edit
@safetag/toolkit/browse/categories
- (for now) Edit
~/.content/packages/safetag-toolkit/toolkit-start.yml
metalsmith-lunr
metalsmith-search-meta
- Clone
https://github.com/contentascode/safetag-toolkit
- Backup default package
mv ~/.content/packages/safetag-toolkit ~/.content/packages/safetag-toolkit.bak
- Link cloned package
ln -s ~/dev/safetag/@safetag/safetag-toolkit ~/.content/packages/safetag-toolkit
git commit
andgit push
npm version patch
npm publish
- Star us on Github
- Give it a try: https://github.com/contentascode/safetag
- Answer our Roadmap Survey