mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
Adjust width
This commit is contained in:
@@ -17,6 +17,9 @@ write_to_file() {
|
|||||||
|
|
||||||
# We need to add the header and the backticks to create the code block.
|
# We need to add the header and the backticks to create the code block.
|
||||||
printf "# %s\n\n\`\`\`\n%s\n\`\`\`" "$program" "$cmd" > "$file"
|
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
|
CMD=./target/release/lighthouse
|
||||||
|
|||||||
Reference in New Issue
Block a user