-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
756 additions
and
486 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,50 @@ | ||
[package] | ||
name = "ftd" | ||
version = "0.1.2" | ||
authors = [ | ||
"Amit Upadhyay <[email protected]>", | ||
"mxfunc <[email protected]>", | ||
"Abrar Khan <[email protected]>" | ||
] | ||
description = "FifthTry Document Language" | ||
license-file = "LICENSE" | ||
include = ["src/**/*", "Cargo.toml"] | ||
readme = "README.md" | ||
keywords = ["fifthtry"] | ||
version = "0.1.3" | ||
authors = ["Amit Upadhyay <[email protected]>"] | ||
edition = "2018" | ||
description = "ftd: FifthTry Document Format parser" | ||
license = "MIT" | ||
repository = "https://github.com/fifthtry/ftd" | ||
homepage = "https://www.fifthtry.com/fifthtry/ftd/" | ||
|
||
[features] | ||
default = [] | ||
fifthtry = [ | ||
"comrak", | ||
"lazy_static", | ||
"linked-hash-map", | ||
"percent-encoding", | ||
"serde", | ||
"serde_derive", | ||
"syntect", | ||
"css-color-parser", | ||
"slug", | ||
"katex", | ||
"realm-lang", | ||
"observer", | ||
"rst_renderer", | ||
"rst_parser", | ||
] | ||
|
||
[dependencies] | ||
Inflector = "0.11.4" | ||
comrak = "0.7.0" | ||
lazy_static = "1" | ||
linked-hash-map = { version = "0.5.4", features = ["serde_impl"]} | ||
percent-encoding = "2.1.0" | ||
serde = "1" | ||
serde_derive = "1" | ||
syntect = "4" | ||
thiserror = "1" | ||
unindent = "0.1.3" | ||
css-color-parser = "0.1.2" | ||
slug = "0.1.4" | ||
katex = "0.3" | ||
realm-lang = "0.1.0" | ||
observer = "0.2.5" | ||
|
||
realm-lang = { path = "../realm/realm-lang", optional = true, version = "0.1.0" } | ||
observer = { path = "../observer/observer", optional = true, version = "0.2.4" } | ||
|
||
comrak = { version = "0.7.0", optional = true } | ||
lazy_static = { version = "1", optional = true } | ||
linked-hash-map = { version = "0.5.4", features = ["serde_impl"], optional = true} | ||
percent-encoding = { version = "2.1.0", optional = true } | ||
serde = { version = "1", optional = true } | ||
serde_derive = { version = "1", optional = true } | ||
syntect = { version = "4", optional = true } | ||
css-color-parser = { version = "0.1.2", optional = true } | ||
slug = { version = "0.1.4", optional = true } | ||
katex = { version = "0.3", optional = true } | ||
rst_renderer = { version = '0.4', optional = true } | ||
rst_parser = { version = '0.4', optional = true } | ||
|
||
[dev-dependencies] | ||
diffy = "0.2.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
FTD stands for Fifthtry Document Format. Documents on FifthTry are stored in this | ||
format. | ||
# FTD Components | ||
|
||
FTD is meant to be universal file format for text based data, think of XML done | ||
right. | ||
## ftd/text | ||
|
||
FTD also has a low level parser, [`ftd::p1`](https://www.fifthtry.com/fifthtry/ftd/p1/), which can be used | ||
as a JSON/YML replacement. | ||
This component is to be used to create new text. It accepts | ||
the following arguments: | ||
|
||
Discord: Join our [`ftd` channel](https://discord.gg/xN3uD8P7WA). | ||
|
||
License: BSD. | ||
|
||
Checkout the [Roadmap](https://www.fifthtry.com/fifthtry/ftd/roadmap/) and | ||
[Changelog](https://www.fifthtry.com/fifthtry/ftd/changelog/). | ||
text[string]: Text to be displayed. | ||
|
||
size[int=12]: Size in pixels. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.