Skip to content

A Markdown reader for Saga, which uses Ink and Splash.

License

Notifications You must be signed in to change notification settings

loopwerk/SagaInkMarkdownReader

Repository files navigation

SagaInkMarkdownReader

A Markdown reader for Saga, which uses Ink and Splash.

Usage

Include SagaInkMarkdownReader in your Package.swift as usual:

let package = Package(
  name: "MyWebsite",
  dependencies: [
    .package(name: "Saga", url: "https://github.com/loopwerk/Saga.git", from: "0.11.0"),
    .package(name: "SagaInkMarkdownReader", url: "https://github.com/loopwerk/SagaInkMarkdownReader", from: "0.3.0"),
  ],
  targets: [
    .target(
      name: "MyWebsite",
      dependencies: ["Saga", "SagaInkMarkdownReader"]),
  ]
)

And then in your website you can import SagaInkMarkdownReader and use inkMarkdownReader as you would do the default markdownReader.

About

A Markdown reader for Saga, which uses Ink and Splash.

Topics

Resources

License

Stars

Watchers

Forks

Languages