mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-02 16:21:42 +00:00
Built-in documentation text width in Lighthouse book (#5394)
* Adjust width * Commit changes * Trigger Build
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.
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user