Skip to content

Commit

Permalink
Fix Issues h01000110#14 and h01000110#4
Browse files Browse the repository at this point in the history
  Fixes issue h01000110#14 where letters display improperly.
    Letters now display properly and are no longer cut off.

  Fixes issue h01000110#4 where code spans (`code`) disappear
    Code spans now display and have formatting

  Add .gitignore
    Added gitignore to not save autogenerated files.
    You may want to edit this when publishing the website.
  • Loading branch information
katcaola authored and Kat Caola committed Aug 22, 2021
1 parent bfa1dcb commit efd6506
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 7 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Jekyll Generated Files
_site/
.jekyll-cache
.jekyll-cache

# Mac
.DS_Store
15 changes: 9 additions & 6 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -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"]
Expand All @@ -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
disable : true
1 change: 1 addition & 0 deletions _sass/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ body {
background: #008082;
font-family: sans-serif, serif, monospace;
font-size: 13px;
line-height: normal;
}

.wrapper, .content {
Expand Down
7 changes: 7 additions & 0 deletions assets/css/002.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@
.post_title {
background: #00007f;
}

code {
font-family: monospace;
background-color: #e5e8ea;
// border-radius: 3px;
padding: 0 .15em;
}
8 changes: 7 additions & 1 deletion assets/js/002.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit efd6506

Please sign in to comment.