diff --git a/assets/sass/_code.scss b/assets/sass/_code.scss index 42f87e2..48f5ebf 100644 --- a/assets/sass/_code.scss +++ b/assets/sass/_code.scss @@ -10,7 +10,8 @@ code { word-wrap: normal; font-size: inherit; } - +// Inline code +li>code, p > code { font-size: 0.9em; padding: 1px 3px; diff --git a/exampleSite/content/en/posts/markdown-syntax/index.md b/exampleSite/content/en/posts/markdown-syntax/index.md index aa8365e..f67a108 100644 --- a/exampleSite/content/en/posts/markdown-syntax/index.md +++ b/exampleSite/content/en/posts/markdown-syntax/index.md @@ -132,13 +132,13 @@ Use the backtick to refer to a `variable` within a sentence. ### Ordered List 1. First item -2. Second item +2. Second item with some `code` in it 3. Third item ### Unordered List * List item -* Another item +* Another item with some `code` in it * And another item ### Nested list