-
Notifications
You must be signed in to change notification settings - Fork 10
CLI: Webserver
Quarkdown's webserver allows direct communication between the compiler and the browser, enabling automatic content reloading.
The server can be started via quarkdown start
.
Important
A webserver is mandatory in order to show paged documents, because of a paged.js requirement.
For that purpose, you can also use other webservers, such as Visual Studio Code's Live Preview, if you prefer.
Tip
quarkdown c ... -p
is shorthand for quarkdown c ... && quarkdown start -f <generated file> -o
-
-f <file>
or--file <file>
: (mandatory) the file the server should point to. It would preferably be the output directory of the compilation. -
-p <port>
or--port <port>
: the webserver's port. If unset, defaults to8089
. -
-o
or--open
: if set, opens the target file in the default browser.
- Figures
- Image size
- TeX formulas
- Table caption
- Decorative headings
- Alerts (quote types)
- Quotation source
- Page breaks
- Text symbols (text replacement)
- Syntax of a function call
- Declaring functions
- Dynamic typing
- Including other Quarkdown files
- Importing external libraries
- Localization
- Document metadata
- Theme
- Page format
- Page margin content
- Page counter
- Automatic page break
- Numbering
- Table of contents
- Stacks (row, column, grid)
- Container
- Align
- Float
- Clip
- Box
- Collapsible
- Whitespace
- Variables
- Optionality
- Math
- Conditional statements
- Loops
- Let
- Destructuring
- String manipulation
- Table manipulation: sorting, computing, and more
- Generators
- String
- Number
- Markdown content
- Boolean
- None
- Enumeration entry
- Iterable
- Dictionary
- Range
- Lambda
- Size(s)
- Color
- Dynamic
- Paper: abstract, definitions, theorems, and more