帶雕像房子的對面
泉声咽危石,日色冷青松
Test post for ox-hugo

The Ship of Theseus is a term referring to a thought experiment, also known as the Theseus paradox, which confronts ideas of identity and change by raising the question of whether an object that has had all of its components replaced remains fundamentally the same object.

This site is powered by hugo and ox-hugo.

This is a source code block:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
(defun join-multi-lines-to-one ()
  "Join multi lines."
  (interactive)
  (let ((beg (region-beginning))
	(end (region-end))
	strings)
    (goto-char beg)
    (back-to-indentation)
    (setq beg (point))
    (goto-char end)
    (goto-char (- (point) 1))
    (end-of-line)
    (setq end (point))
    (setq strings (buffer-substring-no-properties beg end))
    (setq strings (replace-regexp-in-string "\n\\|^>+ *\\|^[\t  ]+" " " strings))
    (setq strings (replace-regexp-in-string " +" " " strings))
    (delete-region beg end)
    (insert strings)
    (goto-char beg)))

This post will be enriched as I discovered more about the tools.


最后修改于 2020-05-17