Update 'README.md'

This commit is contained in:
Marcell Mars 2020-03-06 18:39:14 +00:00
parent ab40155e24
commit a995000e69
1 changed files with 3 additions and 8 deletions

View File

@ -58,13 +58,8 @@ After you **PUBLISH** the web site by using the **!publish!** *trick* in the com
[^1]: **Header** is called [Front Matter](https://gohugo.io/content-management/front-matter/) in HUGO's documentation.
[^2]: The phrase *commiting the changes* comes from the Git vocabulary and if this is the first time you hear about it, probably the closest well known equivalent would be to say *saving the file after it has been changed*. In our case here the file being *saved* to the Git repository will add its latest changes to the history log of all of the previous versions of that file, it will add the name of the account which made those changes together with the date when all of this happened. By doing all of this any file in the Git repository is easily reverted to any of the versions from the past, the history of who did what is kept and the whole repository is ready to be distributed, shared, and synced with any of its "clones" on other different computers.
#### Library bookmarklet to quickly get the Markdown link for the book reference:
### Library bookmarklet quickly get the Markdown link for the book reference (simple version):
```javascript
javascript: (function() {
let re = new RegExp(".*book/");
let c = `![](bib:${location.href.replace(re, "")})`;
navigator.clipboard.writeText(c);
alert(`___Markdown link\n\n ${c}\n\n___copied to clipboard!`)
})()
javascript:(function(){let r = new RegExp(".*book/");alert(`![](bib:${location.href.replace(r,"")})`);})()
```