Skip to content

hallkinn/MDHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Luca Comolli I2BC


MDHelper

Descrizione

Questo è uno script in powershell che aiuta chi l'utente ad usare le funzioni base del formato MD (markdown), ad ogni modifica l'utente potrà vedere lo stato corrente delle modifiche da apportare.


Uso

Per avviare lo script si potrà usare il suo file .exe oppure richiamando lo script da powershell o direttamente dalla shell di VSCode. Questo script simula una specie di console limitata a comandi specifici per interagire con il file .MD.


Comandi:

Name Usage Type of command
help > help One-Parameter
table > table One-Parameter with options (tbcols + tbrows)
heading > heading One-Parameter with option ( dimension)
norm > norm One-Parameter
strike > strike One-Parameter
italic > italic One-Parameter
bold > bold One-Parameter
bolditalic > bolditalic One-Parameter
codeline > codeline One-Parameter
codeblock > codeblock One-Parameter
link > link One-Parameter
quoted > quoted One-Parameter
orderedlist > orderedlist One-Parameter with option (rows)
unorderedlist > unorderedlist One-Parameter with option (rows)
print > print One-Parameter
end > end One-Parameter + confirmation

help

Description: Stampa tutti i comandie il loro uso a terminale.

Usage: > help


table

Description: Crea una tabella di n righe e n colonne

Usage:

> table
> 5 #cols
> 5 #rows

heading

Description: Crea un heading di n grandezza

Usage:

> heading
> 1 #dimension (max:6, smallest)

norm

Description: Non applica nessuna formattazione al testo

Usage: > norm


strike

Description: Formatta il testo barrato

Usage: > strike


italic

Description: Formatta il testo in italico

Usage: > italic


bold

Description: Formatta il testo in grassetto

Usage: > bold


bolditalic

Description: Formatta il testo in italico grassetto

Usage: > bolditalic

codeline

Description: Formatta il testo in linea di codice

Usage: > codeline


codeblock

Description: Formatta il testo in

blocco di codice

Usage: > codeblock


link

Description: Formatta il testo in link$

Usage:

> link
> text #text
> link #link

quoted

Description: Frormatta il testo con n quote

Es:

testo quotato

testo quotato 2 volte

Usage:

> quoted
> 3 #number of quotes (max: 10)

orderedlist

Description: Crea una lista PUNTATA di n righe

Es:

  • item 1
  • item 2

Usage:

> orderedlist
> 3 #number of rows

unorderedlist

Description: Crea una lista ORDINATA di n righe

Es:

  1. item 1
  2. item 2

Usage:

> unorderedlist
> 3 #number of rows

print

Description: Stampa lo stato corrente del testo creato

Usage: > print


end

Description: Chiede conferma di conclusione delle modifice e salvataggio del testo nel file .MD

Usage: > end

About

Powershell script che aiuta nelle funzioni base di MarkDown

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors