Posts

Showing posts with the label Blogger

Blogger - Troubleshoot Issues of Blogger

1. Fail to create tables with horizontal scrollbars. Simply, customize the HTML of Blogger theme and change the following content body{ overflow-wrap:break-word; word-break:break-all; word-wrap:break-word } to body{ overflow-wrap:break-word; word-break:keep-all; word-wrap:break-word } 2. Fail to insert tab keys. Instead of using 	 , use 	 References: https://dev.w3.org/html5/html-author/charref

Blogger - Take Visual Studio Code as the HTML Editor

Image
1. Open Visual Studio Code, go to "File"→"Preference"→"Settings"→"Text Editor"→"Formatting" and check "Format on paste" to avoid auto-indent of pasting. 2. Go to "File"→"Preference"→"User Snippets", search and open html.json file. Create your own snippets. Take mine for example, { // Place your snippets for html here. Each snippet is defined under a snippet name and has a prefix, body and // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the // same ids are connected. // Example: // "Print to console": { // "prefix": "log", // "body": [ // "console.log('$1');", // "$2...