diff --git a/domain/section/register.go b/domain/section/register.go index 5fa14b98..6bd00c38 100644 --- a/domain/section/register.go +++ b/domain/section/register.go @@ -36,7 +36,6 @@ func Register(rt *env.Runtime, s *store.Store) { provider.Register("code", &code.Provider{Runtime: rt, Store: s}) provider.Register("jira", &jira.Provider{Runtime: rt, Store: s}) provider.Register("gemini", &gemini.Provider{Runtime: rt, Store: s}) - // provider.Register("github", &github.Provider{Runtime: rt, Store: s}) provider.Register("markdown", &markdown.Provider{Runtime: rt, Store: s}) provider.Register("papertrail", &papertrail.Provider{Runtime: rt, Store: s}) provider.Register("tabular", &tabular.Provider{Runtime: rt, Store: s}) diff --git a/gui/app/styles/core/view/document/wysiwyg.scss b/gui/app/styles/core/view/document/wysiwyg.scss index e00e6ca0..2834af4c 100644 --- a/gui/app/styles/core/view/document/wysiwyg.scss +++ b/gui/app/styles/core/view/document/wysiwyg.scss @@ -1,6 +1,6 @@ .wysiwyg { - font-size: 15px; - line-height: 20px; + font-size: 1rem;; + line-height: 1.5rem; color: $color-black-light-1; table { @@ -31,20 +31,31 @@ ul { margin: 15px 0; padding: 0 0 0 40px; - line-height: 20px; + // line-height: 20px; + line-height: 1.8rem; } ol { li { // list-style-type: decimal; - line-height: 20px; + // line-height: 20px; + line-height: 1.8rem; } } ul { li { // list-style-type: disc; - line-height: 20px; + // line-height: 20px; + line-height: 1.8rem; + } + } + + p { + line-height: 1.5rem; + + > code { + line-height: 1.8rem; } } @@ -83,6 +94,7 @@ @include border-radius(3px); font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; color: map-get($gray-shades, 800); + margin: 1.5rem 0; > code { background-color: transparent; @@ -95,6 +107,10 @@ } } + pre[class*="language-"] { + margin: 1.5rem 0; + } + blockquote { background-color: map-get($gray-shades, 100); border-left: 7px solid map-get($gray-shades, 200);