Swiftpack.co - bhaze31/evergreen-swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by bhaze31.
bhaze31/evergreen-swift 0.0.10
Swift package to manage Evergreen Markdown
⭐️ 3
🕓 46 weeks ago
.package(url: "https://github.com/bhaze31/evergreen-swift.git", from: "0.0.10")


Evergreen is a data formatter that converts between Markdown, opinionated JSON, HTML, and XML. The basics of Evergreen is an individual Evergreen element. This element is related to an HTML element, in that it contains classes, ids, and a type. However, this element can also have subchildren, which are also Evergreen elements. The remaining structure is as follows:

    title: The name of the Evergreen content,
    authors: A list of people who edited the content,
    createdAt: The date the content was started,
    updatedAt: The date the content was last updated,
    tags: A list of Evergreen tags,
    content: The root evergreen element

Each Evergreen element has the following properties:

    identifier: A unique identifier for the particular element
    elementType: The HTML element equivalent,
    parent: The optional parent to the current element,
    children: An array of Evergreen elements,
    classes: Classes to be used for the HTML element,
    id: An optional ID for the HTML element
    divIdentifier: An identifier to displa


Stars: 3
Last commit: 3 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Public Element
46 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics