Convert BZ2 to DJOT
Turn BZ2 archives into DJOT. The bzip2 layer is removed and the bytes inside are written as they were.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop BZ2 files on the dialor turn it to pick what to do
Unpack a Djot file from BZ2.The bzip2 layer comes off and the Djot inside is written as it was.
What you get
One Djot file. The bzip2 layer is removed, and the bytes inside are written out as they were, with no rewriting of the text.
Ask for what is inside
Choose DJOT only when you know the archive holds a Djot file. Any other format is refused. The conversion unpacks the file. It does not turn one markup into another.
When it stops
The conversion stops with
input_corruptedwhen the file could not be parsed. It stops withunsupported_elementswhen the file holds something the target cannot carry, or when some inputs cannot become the format the join takes.To go the other way, use DJOT to BZ2.
BZ2 and DJOT.What each format is.
The formats
Bzip2
A single file compressed with bzip2.
- Extensions
- .bz2
- MIME type
- application
/x -bzip2 - Kind
- Archives
Djot
Djot, a lightweight markup language by the author of pandoc.
- Extensions
- .dj .djot
- MIME type
- text
/x -djot - Kind
- Text and data
In your code.The same BZ2 to DJOT conversion through the API, for your app or your agent.
$ cv convert archive.bz2 archive.dj$ cv convert archive.bz2 archive.djQuestions.What people ask about BZ2 to DJOT.
No. The bytes inside the archive are written as they were.
No. Ask for the format you know is inside. Anything else is refused.
The file could not be parsed. The conversion stops with this code in that case.
One file.