My Web-related notes
- Browser allowance for cross-origin inclusion of style sheet.
: see https://en.wikipedia.org/wiki/Cross-origin_resource_sharing : ‘A web page may freely embed
cross-origin images, stylesheets, scripts, iframes, and videos.’
- A style sheet is considered an *embedded resource*.
: re `embedded resource` see @ non-fractal
https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy
- Hypertext Transfer Protocol (HTTP) status codes.
: see https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
- 2-- Successful response.
3-- Redirection, except 304 means "not modified"
4-- Request error, caused by client
5-- Service error, caused by server
━━━━━━━━━━━━━━━━━━━━━━━━━━
Markdown compatible HTML
──────────────────────────
- The markdown form of project files `README.html`.
- There the HTML is Markdown compatible only for sake of the Git Hub adaptor link (`README.md`)
which is a sibling and effective alias of each `README.html`.
/ For an example of these files
: see https://github.com/Michael-Allan/Java_Mode_Tamed
a local Markdown compiler, previewing with
Emacs >+ M-x gfm-mode
/ Emacs major mode for Git Hub Markdown.
: see http://jblevins.org/projects/markdown-mode/
Emacs >+ C-c C-c p
- It opens the preview in a new Chrome (or Firefox) tab.
/ Not sure why browser sometimes varies, maybe whichever was last built.
Git Hub’s Markdown compiler, previewing with
+ Open direct editor.
+ Paste content.
/ Copying from Emacs.
+ Commit.
+ View.
+ Overwrite with a routine mirror push.
: privately see /usr/local/bin/sync-web