code-lc4ricode-lc4ri: Markdown + LC4RI for VS Code Tags
DemoDo you often use "jupyter notebook" when choosing a documentation tool for your operations manual?
jupyter is very excellent tool, but I know more usefull for text edit. it's VSCode! AdvantagesThis extention, usually write markdown document. and additional commands can be executed.
Installationdownload vsix from release page. uninstalluse caserecommendationset keybindings.json, enable it's shortcut do.
formatsBasic. You can write markdown usually, but it's can run following. list format
note) If not exists code section after list, will create code section and output to it.
If "ls existsfile.txt" is success, next indent run. horizon lineIf you write horizon line, split commands.
note) In this case, run command to the horizon line. variablenumber list is create variable value.
create variable {1}.
variable {1} output. note) variable can use 1-9 integer. file open (v0.91-)To the top "!" at the beginning opens the specified file in a new tab
v0.5: "config file" support!This extension easier use, support config file. sample settingjson format.
file createIf does not exist, it will be created in the following folder.
file loadWhen VSCode run, loading config. optionsoptions detail following. timeoutThis option is the timeout time when the command is executed. 10000 -> 10 seconds. templateThis option is default commands template, and can be defined on a per-OS.
"OS Type" is following. {COMMAND} included the original commands.
chageWordThis option is convert keywords list.
toutf8 (v0.91-)If set to false, force UTF-8 conversion process to be skipped (default is true) toterminal (v0.91-)If true, the command execution results are not returned to the markdown, but are executed directly on the open terminal. v0.6: executed time auto print.It can be used as evidence of execution time. LICENSEMIT License Contributors |