From 538ff88fb78aa2e54bef930cea05e99ad63350fd Mon Sep 17 00:00:00 2001 From: tejas bhuwania Date: Mon, 17 Feb 2020 04:54:36 +0530 Subject: [PATCH 1/3] add _site to ignore list --- src/Site.js | 3 ++- src/constants.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Site.js b/src/Site.js index ba5c40f70b..5bc2f3b43c 100644 --- a/src/Site.js +++ b/src/Site.js @@ -52,6 +52,7 @@ const { SITE_ASSET_FOLDER_NAME, SITE_CONFIG_NAME, SITE_DATA_NAME, + SITE_FOLDER_NAME, TEMP_FOLDER_NAME, TEMPLATE_SITE_ASSET_FOLDER_NAME, USER_VARIABLES_PATH, @@ -427,7 +428,7 @@ class Site { globPages.concat(walkSync(this.rootPath, { directories: false, globs: [addressableGlob.glob], - ignore: [CONFIG_FOLDER_NAME], + ignore: [CONFIG_FOLDER_NAME, SITE_FOLDER_NAME], }).map(globPath => ({ src: globPath, searchable: addressableGlob.searchable, diff --git a/src/constants.js b/src/constants.js index 984667811b..276ec9fd29 100644 --- a/src/constants.js +++ b/src/constants.js @@ -39,6 +39,7 @@ module.exports = { CONFIG_FOLDER_NAME: '_markbind', HEADING_INDEXING_LEVEL_DEFAULT: 3, SITE_ASSET_FOLDER_NAME: 'asset', + SITE_FOLDER_NAME: '_site', TEMP_FOLDER_NAME: '.temp', TEMPLATE_SITE_ASSET_FOLDER_NAME: 'markbind', From 52e1afac3808880e8e4980e3ad886749907191ca Mon Sep 17 00:00:00 2001 From: tejas bhuwania Date: Mon, 17 Feb 2020 06:14:30 +0530 Subject: [PATCH 2/3] update highlighted text bg color --- docs/css/main.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/css/main.css b/docs/css/main.css index 8f21f99265..92caaa36ed 100644 --- a/docs/css/main.css +++ b/docs/css/main.css @@ -1,5 +1,5 @@ mark { - background-color: rgba(255, 231, 2, 0.15); + background-color: #FFFF00; border-radius: 5px; padding-top: 0; padding-bottom: 0; From 1ab3357d0c15ea0ea738fb3d8aee3fce749edea3 Mon Sep 17 00:00:00 2001 From: tejas bhuwania Date: Mon, 9 Mar 2020 15:08:03 +0800 Subject: [PATCH 3/3] find bug --- docs/userGuide/syntax/code.mbdf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/userGuide/syntax/code.mbdf b/docs/userGuide/syntax/code.mbdf index e4aaef01f2..2633ac3005 100644 --- a/docs/userGuide/syntax/code.mbdf +++ b/docs/userGuide/syntax/code.mbdf @@ -10,7 +10,7 @@ Features: - Syntax coloring - Line numbering - Line highlighting -- Code block headers +- Code block headers ##### Syntax coloring To enable syntax coloring, specify a language next to the backticks before the fenced code block. @@ -108,7 +108,7 @@ To add a heading, add the attribute `heading` with the heading text as the value ```` {.no-line-numbers} -```xml {heading="Heading title"} +```xml {heading="Heading title", highlight-lines="2"} goo @@ -117,7 +117,7 @@ To add a heading, add the attribute `heading` with the heading text as the value -```xml {heading="Heading title"} +```xml {heading="Heading title", highlight-lines="2"} goo @@ -168,4 +168,4 @@ or the java code `public static void main(String[] args)`{.java}. ``` Syntax coloring for inline code: `goo`{.xml} too! - \ No newline at end of file +