Adjust width

This commit is contained in:
Tan Chee Keong
2024-03-12 07:40:16 +08:00
parent 10a38a8aae
commit 6fea81b897

View File

@@ -17,6 +17,9 @@ write_to_file() {
# We need to add the header and the backticks to create the code block.
printf "# %s\n\n\`\`\`\n%s\n\`\`\`" "$program" "$cmd" > "$file"
# Adjust the width of the help text and append to the end of file
sed -i -e '$a\'$'\n''<style> .content main {max-width:88%;} </style>' "$file"
}
CMD=./target/release/lighthouse