From cf87793c65aefbb485381ea88758c8739d257e0a Mon Sep 17 00:00:00 2001 From: pedroth Date: Wed, 28 Aug 2024 14:48:35 +0100 Subject: [PATCH] update tests --- test/resources/snapshot1.html | 4 ++-- test/resources/snapshot2.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/resources/snapshot1.html b/test/resources/snapshot1.html index bb846fa..851d346 100644 --- a/test/resources/snapshot1.html +++ b/test/resources/snapshot1.html @@ -63,8 +63,8 @@ Outdated base version: https://github.com/primer/github-syntax-dark Current colors taken from GitHub's CSS -*/.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#79c0ff}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-code,.hljs-comment,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}

lorem ipsum !

def factorial(n):
+*/.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#79c0ff}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-code,.hljs-comment,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}

lorem ipsum !

def factorial(n):
     return 1 if n <= 0 else n * factorial(n - 1)
-

Also inline ?? a inline custom does work !!

Tests unicode ♠

link with ♥

html with ♥

normal with ♥

bold with ♥

italic with ♥

\ No newline at end of file diff --git a/test/resources/snapshot2.html b/test/resources/snapshot2.html index 0a99299..59c221b 100644 --- a/test/resources/snapshot2.html +++ b/test/resources/snapshot2.html @@ -76,7 +76,7 @@ padding: 1em 10px .1em; quotes: \"201C\"\"201D\"\"2018\"\"2019\"; } -

Gradient Descend

!

Unicode usage ♠

link with ♥

html with ♥

normal with ♥

bold with ♥

italic with ♥


  1. : Text with nabladown syntax
  2. : You can use any identifier
  3. :