chore: Don’t commit Package.resolved to git
A Markdown reader for Saga, which uses Python-Markdown. Code syntax highlighting is done via Pygments, if installed.
Include SagaPythonMarkdownReader in your Package.swift as usual:
SagaPythonMarkdownReader
let package = Package( name: "MyWebsite", dependencies: [ .package(name: "Saga", url: "https://github.com/loopwerk/Saga.git", from: "0.12.0"), .package(name: "SagaPythonMarkdownReader", url: "https://github.com/loopwerk/SagaPythonMarkdownReader", from: "0.1.0"), ], targets: [ .target( name: "MyWebsite", dependencies: ["Saga", "SagaPythonMarkdownReader"]), ] )
And then in your website you can import SagaPythonMarkdownReader and use pythonMarkdownReader as you would do the default markdownReader.
import SagaPythonMarkdownReader
pythonMarkdownReader
markdownReader
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
SagaPythonMarkdownReader
A Markdown reader for Saga, which uses Python-Markdown. Code syntax highlighting is done via Pygments, if installed.
Usage
Include
SagaPythonMarkdownReader
in your Package.swift as usual:And then in your website you can
import SagaPythonMarkdownReader
and usepythonMarkdownReader
as you would do the defaultmarkdownReader
.