This repository holds the source files of the OutSystems Developer Cloud documentation.
Check how you can contribute.
All documentation present in this repository should be written in Markdown (check here for the basic syntax).
The Markdown-to-HTML conversion process is done through the Python Markdown package. The following Markdown extensions are currently being used in the conversion step:
Extension | Description |
---|---|
markdown.extensions.extra | Meta-extension adding support to a series of smaller extensions (check documentation). Currently supports the definition lists syntax. |
markdown.extensions.meta | Read metadata from each Markdown front-matter section (discarded in HTML output). Can be used for specifying custom page titles, for example (not used by the default template). |
markdown.extensions.toc | Only used to get automatic bookmarks in headings. |
markdown.blankline | Adds Markdown syntax so it is possible to add a blank line (by writing %% ). Currently used inside table cells. |
markdown-include | Include other Markdown files in a given file. [Currently not used] |
Before editing any Markdown document that you wish to push to this repository, you should configure your preferred editor with the following generic settings:
- When the tab key is pressed, insert 4 spaces instead of a
Tab
character (.editorconfig
file available for configuring several editors automatically); - Use soft-wrapping, if available, avoiding carriage returns inside paragraphs.
The 4-spaces setting follows the R&D development recommendations for configuring Visual Studio.
Very powerful and extensible editor. Get it from here.
Has Markdown support out-of-the-box, with preview capabilities (just press Control K, V
when editing a saved .md
file).
Install EditorConfig for VS Code extension for handling common editor settings (4 spaces instead of tabs).
Set up soft-wrapping
In the same pane (User Settings), make sure the following settings are defined:
{
(...)
"editor.wordWrapColumn": 80,
"editor.wordWrap": "bounded"
}
Note: For some reason, Markdown documents do not automatically assume these settings. You will have to define a [markdown]
language definition section with the same settings:
{
(These are the 2 settings described above. Mind the new trailing comma after "bounded"!)
"editor.wordWrapColumn": 80,
"editor.wordWrap": "bounded",
"[markdown]": {
"editor.wordWrapColumn": 80,
"editor.wordWrap": "bounded"
}
}
Install a spell checker
- Open View > Extensions.
- Search and install the offline spell checker by Michael Vernier, called SpellChecker.
- Reload the window.
If you already use Visual Studio, you can install the Markdown Editor extension and keep using the same IDE for editing Markdown documents.
Visual Studio 2017 supports EditorConfig out of the box.
Check the markdown_npp language definition. There's no preview available.
Note: it has a few syntax highlighting limitations, when compared with more powerful implementations.
Install the EditorConfig Notepad plugin to set up your workspace settings while editing Markdown files in this repository.
If you use Vim, install the vim-markdown plugin and get a load of new features related to Markdown editing.
Note: Mentioning Vim here just for completeness. :)