summaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/my-functions.el
blob: e67c39cbb62bde1e531ac22d771a5c15faec65b3 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
;;; package --- Summary
;;; Commentary:
;;; useful snippers of code for my daily use.
;;; Code:

(defun apollo/my-html-header ()
  "Inser t html boilerplate with boostrap link."
  (interactive)
  (insert
"<!DOCTYPE html>
<html lang=\"en\">
  <head>
    <meta charset=\"UTF-8\">
    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
    <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">
    <title>My Title</title>
    <link rel=\"stylesheet\" href=\"./style.css\">
    <link href=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi\" crossorigin=\"anonymous\">
  </head>
  <body>
    <main>
        <h1>Starting point</h1>
    </main>
	<script src=\"index.js\"></script>
  </body>
</html>" ))



;;; my-functions.el ends here