mirror of
https://github.com/denoland/deno.git
synced 2024-12-15 03:48:02 -05:00
16036a8a51
This commit adds support for formatting markdown files with "deno fmt". Additionally "--ext={js|jsx|ts|tsx|md}" flag was added to "deno fmt" that allows to specify file type when providing contents over stdio.
286 B
286 B
Hello Markdown
console.log("Hello World"
)
console.log("Hello World2"
)
function hello(name: string ) {
console.log(name);
};
hello( "alice");
function foo(): number {
return 2;
}