This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npx browser-sync start --server --files "./*.html" --no-open --no-notify --directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a[href$=".pdf"] { | |
background: url('https://i.imgur.com/n8EHrrI.png') | |
0 50% no-repeat; | |
padding-left: 20px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Control+F | |
Toggle "Replace mode" | |
Toggle "Use Regular Expression" (the icon with the .* symbol) | |
In the search field, type ^(.*)(\n\1)+$ | |
In the "replace with" field, type $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<FileViewer | |
fileType='docx' | |
filePath={data.file} | |
errorComponent={CustomErrorComponent} | |
onError={this.onError}/> | |
{data.fileType == '.docx' && | |