From e8b34260c516123f8b714f71348bdd26e91272d5 Mon Sep 17 00:00:00 2001 From: Toshio Sekiya Date: Mon, 29 Mar 2021 22:46:15 +0900 Subject: [PATCH] Bug fixed. --- .gitignore | 1 + lib/lib_add_head_tail_html.rb | 3 + sample.html | 110 ---------------------------------- sample.md | 18 ------ 4 files changed, 4 insertions(+), 128 deletions(-) delete mode 100644 sample.html delete mode 100644 sample.md diff --git a/.gitignore b/.gitignore index bdace7f..f84c05f 100755 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,7 @@ src/temp src/le src/list4/_build src/list5/_build +src/column html/* latex/* diff --git a/lib/lib_add_head_tail_html.rb b/lib/lib_add_head_tail_html.rb index d2a27ac..1d31c38 100644 --- a/lib/lib_add_head_tail_html.rb +++ b/lib/lib_add_head_tail_html.rb @@ -59,6 +59,9 @@ tail=<<'EOS' EOS + File.delete("sample.md") + File.delete("sample.html") + body = File.read(html_file) File.write(html_file, head+body+tail) end diff --git a/sample.html b/sample.html deleted file mode 100644 index 09e1c81..0000000 --- a/sample.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - Gtk4 tutorial for beginners - - - -
-

Gtk4 tutorial for beginners

-
-

sample header

-

Main contents begin here.

-
int main(int argc, char **argv) {
-}
- - - - - - - - - - - - - - - - - - - - - -
EnglishJapanese
potatojagaimo
carrotninjin
oniontamanegi
- - diff --git a/sample.md b/sample.md deleted file mode 100644 index 13d35e4..0000000 --- a/sample.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: 'Gtk4 tutorial for beginners' ---- - -# sample header - -Main contents begin here. - -~~~{.C .numberLines} -int main(int argc, char **argv) { -} -~~~ - -|English|Japanese| -|:-----:|:------:| -|potato|jagaimo| -|carrot|ninjin| -|onion|tamanegi|