Crate subtext

Source

Modules§

block
primitive
str
util

Structs§

Slashlink
A slashlink is form of reference to content in a Sphere. It consists of a peer part and a slug part. A slashlink with just the slug looks like: /foo. A slashlink with just the peer looks like: @cdata. With both parts, the link would look like: @cdata/foo.

Enums§

Peer
The various forms that the “peer” part of a slashlink may take

Functions§

parse
Parse a raw buffer as a chunk of subtext. The iterator yields the parsed subtext one block at a time.