Skip to main content

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:
  1. Web Workshop

  2. 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)

  3. In a web page as a linked script

    (view the source of the Web Workshop for an example)

  4. A Node.js translation of the 3v command available with:

     npm install triv-3v -g
     3v file.3v > file.html
    

    Please 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

triv-0.49.2.zip (42.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page