diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..f6550968c --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +# Jekyll Generated Files +_site/ +.jekyll-cache +.jekyll-cache + +# Mac +.DS_Store diff --git a/_config.yml b/_config.yml index d6079a046..e230e7f9b 100644 --- a/_config.yml +++ b/_config.yml @@ -1,13 +1,14 @@ permalink: /:year:month:day/:title -url: #Your url here -baseurl: /project +# When testing locally, leave "url:" blank or use http://localhost:4000 +url: # Your URL Here +# When testing locally, leave "baseurl:" blank +baseurl: -# variables +# Variables name: Your Site Name description: Your description here google_verification: null - # File management include: [".htaccess"] exclude: ["README.md", "LICENSE"] @@ -20,6 +21,8 @@ sass: # Markdown markdown: kramdown kramdown: - input: GFM + # Defaults to GFM according to the docs: + # https://jekyllrb.com/docs/configuration/markdown/ + # input: GFM syntax_highlighter_opts: - disable : true \ No newline at end of file + disable : true diff --git a/_sass/_main.scss b/_sass/_main.scss index af1f68b28..0259b4ee6 100644 --- a/_sass/_main.scss +++ b/_sass/_main.scss @@ -2,6 +2,7 @@ body { background: #008082; font-family: sans-serif, serif, monospace; font-size: 13px; + line-height: normal; } .wrapper, .content { diff --git a/assets/css/002.scss b/assets/css/002.scss index bc62d79ae..0b109f701 100644 --- a/assets/css/002.scss +++ b/assets/css/002.scss @@ -10,3 +10,10 @@ .post_title { background: #00007f; } + +code { + font-family: monospace; + background-color: #e5e8ea; + // border-radius: 3px; + padding: 0 .15em; +} diff --git a/assets/js/002.js b/assets/js/002.js index 2dadc67d2..e8dce4013 100644 --- a/assets/js/002.js +++ b/assets/js/002.js @@ -7,11 +7,17 @@ function numbers () { var num = 0; var select = fields[field].innerText; var select_f = select.split(/\n/); + + // FIXES ISSUE WHERE INLINE CODE BLOCKS / CODE SPANs (CODE THAT IS ONE LINE) + // ARE NOT SHOWING UP. + if (select_f.length === 1) + continue; + var tab = document.createElement("table"); // IF YOU USE MARKDOWN AND YOU HAVE BEEN GETTING ONE ADDITIONAL LINE IN YOUR TAG CODE // UNCOMMENT THE SECTION BELOW - + /* MARKDOWN SECTION /**/ select_f.splice(-1, 1);