8000 GitHub - 0xOpenBytes/SD2MD: ScreenData to basic Markdown Converter
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

0xOpenBytes/SD2MD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SD2MD

Convert ScreenData into basic Markdown


ScreenData to Markdown (SD2MD)

SD2MD is a Xcode Workspace to convert ScreenData into Markdown and CLI tool to either print or save the Markdown generated from the ScreenDat 710E a.


Xcode Usage

All changes should be done insider the Markdown folder. Edit Workspace.post to what you want converted from ScreenData into Markdown.


import ScreenData

enum Workspace {
    enum MetadataKey: String {
        case date, description, tags
    }
    
    static let post_metadata: [MetadataKey: String]? = [
        .date: "2022-02-2 20:22",
        .description: "...",
        .tags: ""
    ]
    
    static let post = SomeScreen(
        title: "[Draft] POST_NAME",
        someView: .vstack(
            [
                .text("TODO")
            ]
        )
    )

}



CLI Usage


USAGE: sd2-md [<output-path>]

ARGUMENTS:
  <output-path>

OPTIONS:
  -h, --help              Show help information.

About

ScreenData to basic Markdown Converter

Topics

Resources

License

Stars

Watchers

Forks

Languages

0