Files
nova-figlet/FIGlet Text.novaextension/extension.json
2023-03-27 18:17:17 -04:00

673 lines
27 KiB
JSON

{
"identifier": "dev.danremollino.figlettext",
"name": "FIGlet Text",
"organization": "Dan Remollino",
"description": "Convert selected text to FIGlet. Great for adding readable text to the Minimap, creating l33t text headers, and organizing files.",
"version": "1.10.1",
"categories": ["commands", "formatters"],
"entitlements": {
"clipboard": false,
"process": true,
"requests": false,
"filesystem": false
},
"main": "main.js",
"config": [
{
"type": "section",
"title": "Font",
"children": [
{
"key": "figlet_text.font",
"title": "Font",
"description": "The Homebrew install of FIGlet includes three font collections...\n\nFIGlet (unprefixed): The default fonts distributed with FIGlet\nBDF (bdffonts): BDF-format (X Windows) fonts distributed by the X Consortium\nC64 (C64-fonts): Commodore 64 fonts converted by by David Proper",
"type": "enum",
"radio": false,
"values": [
"3-d",
"3x5",
"5lineoblique",
"acrobatic",
"alligator",
"alligator2",
"alphabet",
"avatar",
"banner",
"banner3-D",
"banner3",
"banner4",
"barbwire",
"basic",
"bell",
"big",
"bigchief",
"binary",
"block",
"broadway",
"bubble",
"bulbhead",
"calgphy2",
"caligraphy",
"catwalk",
"chunky",
"cjkfonts.re",
"coinstak",
"colossal",
"computer",
"contessa",
"contrast",
"cosmic",
"cosmike",
"crawford",
"cricket",
"cursive",
"cyberlarge",
"cybermedium",
"cybersmall",
"decimal",
"diamond",
"digital",
"doh",
"doom",
"dotmatrix",
"double",
"drpepper",
"dwhistled",
"eftichess",
"eftichessC",
"eftifont",
"eftipiti",
"eftirobot",
"eftitalic",
"eftiwall",
"eftiwater",
"epic",
"fe",
"fender",
"fourtops",
"fraktur",
"fuzzy",
"goofy",
"gothic",
"graceful",
"gradient",
"graffiti",
"hex",
"hollywood",
"invita",
"isometric1",
"isometric2",
"isometric3",
"isometric4",
"italic",
"ivrit",
"jazmine",
"jerusalem",
"katakana",
"kban",
"l4me",
"larry3d",
"lcd",
"lean",
"letters",
"linux",
"lockergnome",
"madrid",
"marquee",
"maxfour",
"mike",
"mini",
"mirror",
"mnemonic",
"morse",
"moscow",
"mshebrew210",
"nancyj-fancy",
"nancyj-underlined",
"nancyj",
"nipples",
"ntgreek",
"nvscript",
"o8",
"Obanner.RE",
"octal",
"ogre",
"os2",
"pawp",
"peaks",
"pebbles",
"pepper",
"poison",
"puffy",
"pyramid",
"rectangles",
"relief",
"relief2",
"rev",
"roman",
"rot13",
"rounded",
"rowancap",
"rozzo",
"runic",
"runyc",
"sblood",
"script",
"serifcap",
"shadow",
"short",
"slant",
"slide",
"slscript",
"small",
"smisome1",
"smkeyboard",
"smscript",
"smshadow",
"smslant",
"smtengwar",
"speed",
"stacey",
"stampatello",
"standard",
"starwars",
"stellar",
"stop",
"straight",
"tanja",
"tengwar",
"term",
"thick",
"thin",
"threepoint",
"ticks",
"ticksslant",
"tinker-toy",
"tombstone",
"trek",
"tsalagi",
"twopoint",
"univers",
"usaflag",
"weird",
"whimsy",
"",
"bdffonts/5x7",
"bdffonts/5x8",
"bdffonts/6x9",
"bdffonts/6x10",
"bdffonts/brite",
"bdffonts/briteb",
"bdffonts/britebi",
"bdffonts/britei",
"bdffonts/chartr",
"bdffonts/chartri",
"bdffonts/clb6x10",
"bdffonts/clb8x8",
"bdffonts/clb8x10",
"bdffonts/cli8x8",
"bdffonts/clr4x6",
"bdffonts/clr5x6",
"bdffonts/clr5x8",
"bdffonts/clr5x10",
"bdffonts/clr6x6",
"bdffonts/clr6x8",
"bdffonts/clr6x10",
"bdffonts/clr7x8",
"bdffonts/clr7x10",
"bdffonts/clr8x8",
"bdffonts/clr8x10",
"bdffonts/cour",
"bdffonts/courb",
"bdffonts/courbi",
"bdffonts/couri",
"bdffonts/helv",
"bdffonts/helvb",
"bdffonts/helvbi",
"bdffonts/helvi",
"bdffonts/sans",
"bdffonts/sansb",
"bdffonts/sansbi",
"bdffonts/sansi",
"bdffonts/sbook",
"bdffonts/sbookb",
"bdffonts/sbookbi",
"bdffonts/sbooki",
"bdffonts/times",
"bdffonts/tty",
"bdffonts/ttyb",
"bdffonts/utopia",
"bdffonts/utopiab",
"bdffonts/utopiabi",
"bdffonts/utopiai",
"bdffonts/xbrite",
"bdffonts/xbriteb",
"bdffonts/xbritebi",
"bdffonts/xbritei",
"bdffonts/xchartr",
"bdffonts/xchartri",
"bdffonts/xcour",
"bdffonts/xcourb",
"bdffonts/xcourbi",
"bdffonts/xcouri",
"bdffonts/xhelv",
"bdffonts/xhelvb",
"bdffonts/xhelvbi",
"bdffonts/xhelvi",
"bdffonts/xsans",
"bdffonts/xsansb",
"bdffonts/xsansbi",
"bdffonts/xsansi",
"bdffonts/xsbook",
"bdffonts/xsbookb",
"bdffonts/xsbookbi",
"bdffonts/xsbooki",
"bdffonts/xtimes",
"bdffonts/xtty",
"bdffonts/xttyb",
"",
"C64-fonts/4x4_offr",
"C64-fonts/64f1____",
"C64-fonts/1943____",
"C64-fonts/a_zooloo",
"C64-fonts/advenger",
"C64-fonts/aquaplan",
"C64-fonts/asc_____",
"C64-fonts/ascii___",
"C64-fonts/assalt_m",
"C64-fonts/asslt__m",
"C64-fonts/atc_____",
"C64-fonts/atc_gran",
"C64-fonts/b_m__200",
"C64-fonts/battle_s",
"C64-fonts/battlesh",
"C64-fonts/baz__bil",
"C64-fonts/beer_pub",
"C64-fonts/bubble__",
"C64-fonts/bubble_b",
"C64-fonts/c_ascii_",
"C64-fonts/c_consen",
"C64-fonts/c1______",
"C64-fonts/c2______",
"C64-fonts/caus_in_",
"C64-fonts/char1___",
"C64-fonts/char2___",
"C64-fonts/char3___",
"C64-fonts/char4___",
"C64-fonts/charact1",
"C64-fonts/charact2",
"C64-fonts/charact3",
"C64-fonts/charact4",
"C64-fonts/charact5",
"C64-fonts/charact6",
"C64-fonts/characte",
"C64-fonts/charset_",
"C64-fonts/coil_cop",
"C64-fonts/com_sen_",
"C64-fonts/computer",
"C64-fonts/convoy__",
"C64-fonts/d_dragon",
"C64-fonts/dcs_bfmo",
"C64-fonts/deep_str",
"C64-fonts/demo_1__",
"C64-fonts/demo_2__",
"C64-fonts/demo_m__",
"C64-fonts/devilish",
"C64-fonts/druid___",
"C64-fonts/e__fist_",
"C64-fonts/ebbs_1__",
"C64-fonts/ebbs_2__",
"C64-fonts/eca_____",
"C64-fonts/etcrvs__",
"C64-fonts/f15_____",
"C64-fonts/faces_of",
"C64-fonts/fair_mea",
"C64-fonts/fairligh",
"C64-fonts/fantasy_",
"C64-fonts/fbr_stri",
"C64-fonts/fbr_tilt",
"C64-fonts/fbr1____",
"C64-fonts/fbr2____",
"C64-fonts/fbr12___",
"C64-fonts/finalass",
"C64-fonts/fireing_",
"C64-fonts/flyn_sh",
"C64-fonts/fp1_____",
"C64-fonts/fp2_____",
"C64-fonts/funky_dr",
"C64-fonts/future_1",
"C64-fonts/future_2",
"C64-fonts/future_3",
"C64-fonts/future_4",
"C64-fonts/future_5",
"C64-fonts/future_6",
"C64-fonts/future_7",
"C64-fonts/future_8",
"C64-fonts/gauntlet",
"C64-fonts/ghost_bo",
"C64-fonts/gothic__",
"C64-fonts/gothic",
"C64-fonts/grand_pr",
"C64-fonts/green_be",
"C64-fonts/hades___",
"C64-fonts/heavy_me",
"C64-fonts/heroboti",
"C64-fonts/high_noo",
"C64-fonts/hills___",
"C64-fonts/home_pak",
"C64-fonts/house_of",
"C64-fonts/hypa_bal",
"C64-fonts/hyper___",
"C64-fonts/inc_raw_",
"C64-fonts/italics_",
"C64-fonts/joust___",
"C64-fonts/kgames_i",
"C64-fonts/kik_star",
"C64-fonts/krak_out",
"C64-fonts/lazy_jon",
"C64-fonts/letter_w",
"C64-fonts/letterw3",
"C64-fonts/lexible_",
"C64-fonts/mad_nurs",
"C64-fonts/magic_ma",
"C64-fonts/master_o",
"C64-fonts/mayhem_d",
"C64-fonts/mcg_____",
"C64-fonts/mig_ally",
"C64-fonts/modern__",
"C64-fonts/new_asci",
"C64-fonts/nfi1____",
"C64-fonts/notie_ca",
"C64-fonts/npn_____",
"C64-fonts/odel_lak",
"C64-fonts/ok_beer_",
"C64-fonts/outrun__",
"C64-fonts/p_s_h_m_",
"C64-fonts/p_skateb",
"C64-fonts/pacos_pe",
"C64-fonts/panther_",
"C64-fonts/pawn_ins",
"C64-fonts/phonix__",
"C64-fonts/platoon_",
"C64-fonts/platoon2",
"C64-fonts/pod_____",
"C64-fonts/r2-d2___",
"C64-fonts/rad_____",
"C64-fonts/rad_phan",
"C64-fonts/radical_",
"C64-fonts/rainbow_",
"C64-fonts/rally_s2",
"C64-fonts/rally_sp",
"C64-fonts/rampage_",
"C64-fonts/rastan__",
"C64-fonts/raw_recu",
"C64-fonts/rci_____",
"C64-fonts/ripper!_",
"C64-fonts/road_rai",
"C64-fonts/rockbox_",
"C64-fonts/rok_____",
"C64-fonts/roman___",
"C64-fonts/roman",
"C64-fonts/script__",
"C64-fonts/skate_ro",
"C64-fonts/skateord",
"C64-fonts/skateroc",
"C64-fonts/sketch_s",
"C64-fonts/sm______",
"C64-fonts/space_op",
"C64-fonts/spc_demo",
"C64-fonts/star_war",
"C64-fonts/stealth_",
"C64-fonts/stencil1",
"C64-fonts/stencil2",
"C64-fonts/street_s",
"C64-fonts/subteran",
"C64-fonts/super_te",
"C64-fonts/t__of_ap",
"C64-fonts/tav1____",
"C64-fonts/taxi____",
"C64-fonts/tec_7000",
"C64-fonts/tec1____",
"C64-fonts/tecrvs__",
"C64-fonts/ti_pan__",
"C64-fonts/timesofl",
"C64-fonts/tomahawk",
"C64-fonts/top_duck",
"C64-fonts/trashman",
"C64-fonts/triad_st",
"C64-fonts/ts1_____",
"C64-fonts/tsm_____",
"C64-fonts/tsn_base",
"C64-fonts/twin_cob",
"C64-fonts/type_set",
"C64-fonts/ucf_fan_",
"C64-fonts/ugalympi",
"C64-fonts/unarmed_",
"C64-fonts/usa_____",
"C64-fonts/usa_pq__",
"C64-fonts/vortron_",
"C64-fonts/war_of_w",
"C64-fonts/yie_ar_k",
"C64-fonts/yie-ar__",
"C64-fonts/z-pilot_",
"C64-fonts/zig_zag_",
"C64-fonts/zone7___"
],
"default": "banner3"
},
{
"key": "figlet_text.previewText",
"title": "Preview Text",
"description": "The text to output in the Preview textbox below.",
"type": "string",
"default": "FIGlet"
},
{
"key": "figlet_text.preview",
"title": "Preview",
"description": "Admittedly, this isn't the ideal preview as Nova uses non-monospaced output for the Preview textbox above.\n\nUse the Extensions -> Generate FIGlet Font Collection Preview menu item to generate an accurate, custom text FIGlet font collection preview document.",
"type": "text"
}
]
},
{
"type": "section",
"title": "Text Output",
"children": [
{
"key": "figlet_text.outputWidth",
"title": "Output Width",
"description": "The screen width FIGlet assumes when formatting its output. FIGlet will wrap text that is rendered larger than this value. An Output Width of 1 is a special value that tells FIGlet to print each non-space FIGcharacter on a separate line. This value will affect text justification.",
"link": "http://www.figlet.org/figlet-man.html",
"type": "number",
"default": 80
},
{
"key": "figlet_text.textDirection",
"title": "Text Direction",
"description": "Controls whether FIGlet prints left-to-right or right-to-left. 'Auto' makes FIGlet use whichever is specified in the font file.",
"link": "http://www.figlet.org/figlet-man.html",
"type": "enum",
"radio": false,
"values": [["-X", "Auto"], ["-L", "Left-to-right"], ["-R", "Right-to-left"]],
"default": "-X"
},
{
"key": "figlet_text.justification",
"title": "Justification",
"description": "Justification of FIGlet output. 'Auto' sets the justification according to the value of Text Direction.",
"link": "http://www.figlet.org/figlet-man.html",
"type": "enum",
"radio": false,
"values": [["-x", "Auto"], ["-l", "Left"], ["-c", "Center"], ["-r", "Right"]],
"default": "-x"
}
]
},
{
"type": "section",
"title": "Comments",
"children": [
{
"key": "figlet_text.comment",
"title": "Enable Comments",
"description": "FIGlet Text will auto line comment the output. Currently supported in CSS, HTML, Javascript, PHP, Typescript, and SCSS syntaxes.",
"type": "boolean",
"default": true
},
{
"key": "figlet_text.commentPadding",
"title": "Comment Padding",
"description": "The number of Comment Padding Characters to add between the converted text and comment symbols.",
"type": "number",
"default": 4
},
{
"key": "figlet_text.commentPaddingStr",
"title": "Comment Padding Character",
"description": "Text string to use as Comment Padding. Defaults to a single space.",
"type": "string",
"default": " "
}
]
},
{
"type": "section",
"title": "Borders",
"description": "Border width and style.",
"children": [
{
"key": "figlet_text.borders",
"title": "Enable Borders",
"description": "Toggle border output without needing to change individual border settings. This option also toggles Padding output.",
"type": "bool",
"default": false
},
{
"key": "figlet_text.borderTopWidth",
"title": "Top Border Width",
"type": "number",
"default": 2
},
{
"key": "figlet_text.borderTopChar",
"title": "Top Border Character",
"type": "string",
"default": "#"
},
{
"key": "figlet_text.borderRightWidth",
"title": "Right Border Width",
"type": "number",
"default": 3
},
{
"key": "figlet_text.borderRightChar",
"title": "Right Border Character",
"type": "string",
"default": "#"
},
{
"key": "figlet_text.borderBottomWidth",
"title": "Bottom Border Width",
"type": "number",
"default": 2
},
{
"key": "figlet_text.borderBottomChar",
"title": "Bottom Border Character",
"type": "string",
"default": "#"
},
{
"key": "figlet_text.borderLeftWidth",
"title": "Left Border Width",
"type": "number",
"default": 3
},
{
"key": "figlet_text.borderLeftChar",
"title": "Left Border Character",
"type": "string",
"default": "#"
}
]
},
{
"type": "section",
"title": "Padding",
"description": "Spacing between FIGlet text and border. The 'Enable Borders' option must be checked under the Borders section for these options to have any effect.",
"children": [
{
"key": "figlet_text.borderTopPadding",
"title": "Top Padding",
"type": "number",
"default": 2
},
{
"key": "figlet_text.borderRightPadding",
"title": "Right Padding",
"type": "number",
"default": 5
},
{
"key": "figlet_text.borderBottomPadding",
"title": "Bottom Padding",
"type": "number",
"default": 2
},
{
"key": "figlet_text.borderLeftPadding",
"title": "Left Padding",
"type": "number",
"default": 5
}
]
},
{
"type": "section",
"title": "Margins",
"description": "Spacing between FIGlet text and your content.",
"children": [
{
"key": "figlet_text.prependNewLines",
"title": "Top Margin",
"description": "Amount of new lines to prepend to the converted text.",
"type": "number",
"default": 0
},
{
"key": "figlet_text.appendNewLines",
"title": "Bottom Margin",
"description": "Amount of new lines to append to the converted text.",
"type": "number",
"default": 0
}
]
}
],
"commands": {
"editor": [
{
"title": "Convert Selection to FIGlet",
"command": "figletTextEditor",
"shortcut": "ctrl-opt-cmd-f",
"when": "editorHasSelection"
}
],
"extensions": [
{
"title": "Generate FIGlet Font Collection Preview",
"command": "figletTextFontPreviewAll"
}
]
},
"bugs": "https://github.com/danremollino/nova-figlet/issues",
"repository": "https://github.com/danremollino/nova-figlet"
}