Skip to content

Instantly share code, notes, and snippets.

@mgnisia
Created November 27, 2019 12:01
Show Gist options
  • Save mgnisia/e71d2f1c9f71ae9e047cda77944d26cc to your computer and use it in GitHub Desktop.
Save mgnisia/e71d2f1c9f71ae9e047cda77944d26cc to your computer and use it in GitHub Desktop.
Create Markdown table in fish per function
function md_table
set header "| header | header |\n| ------ | ------ |\n"
for i in *.cpp;
set -a header "| $i | |\n";
end;
printf "$header";
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment