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.50.0.zip (42.0 kB view details)

Uploaded Source

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

Hashes for triv-0.50.0.zip
Algorithm Hash digest
SHA256 b5ab7a30e2dd844b2e1bb6574bb3eda63072438a92f0ed77076fabf14d571be8
MD5 7719378179dbf2f52234c4310534e98c
BLAKE2b-256 969f201e06313a7571b027c0d75fe92893761371919556bfba47172f13bddca1

See more details on using hashes here.

Supported by

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