A syntax for the web and more...
Project description
Triv
A syntax for the web and more...
[What]
: Your documents, any documents,
: as you like.
[.Online.]
[..Learn..]
https://triv.co/docs
[..Try..]
https://triv.co/workshop
[.Download.]
: ```
pip install triv
```
3v - the command line
The downloadable 3v command compiles a Triv document into your choice of markup.
The Triv syntax is recommended for HTML and XML applications.
Python
PyPI hosts the first-choice way to compile with Triv:
pip install triv
3v file.3v > file.xml
Other options include:
-
Any text editor, with the following lines at the start:
<script>"interpretive"</script> <script src="https://www.triv.co/3v.js"></script>Then, double-click to open in your browser! (Limitations)
-
In a web page as a linked script
(view the source of the Web Workshop for an example)
-
A Node.js translation of the
3vcommand available with:npm install triv-3v -g 3v file.3v > file.htmlPlease note: The Python implementation serves as the reference implementation for the project and is the first to receive updates and bugfixes.
License: BSD (3-clause); Copyright ©2023 Triv Collective
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file triv-0.50.0.zip.
File metadata
- Download URL: triv-0.50.0.zip
- Upload date:
- Size: 42.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5ab7a30e2dd844b2e1bb6574bb3eda63072438a92f0ed77076fabf14d571be8
|
|
| MD5 |
7719378179dbf2f52234c4310534e98c
|
|
| BLAKE2b-256 |
969f201e06313a7571b027c0d75fe92893761371919556bfba47172f13bddca1
|