Crayon testing

Welcome Forums Web Site Feedback & Assistance Crayon testing

Viewing 1 reply thread
  • Author
    Posts
    • #254018
      Senior Moderator
      Topics: 10
      Replies: 192
      Points: 1,031
      Helping Hand
      Rank: Community Hero

      Test 1: block with language, theme, title, and marked line attributes specified
      pre class=”lang:ps theme:twilight title:slipsum mark:6″

      Test 2: block with language attribute specified, otherwise defaults
      pre class=”lang:ps”

      Test 3: block with no attributes specified, default settings, automatic language recognition
      pre

      Test 4: block with no attributes specified, default settings, automatic language recognition
      pre

      *Note* I can’t reproduce the single-quote parsing issue as seen here: https://powershell.org/forums/topic/add-custom-variable-to-select-object/#post-253709
      When I type single quotes they are handled correctly (as seen above). Maybe this is a keyboard/language/OS localization/browser issue?

      Test 5: greater than (>) entity is not displayed correctly for shell code either, so this is not a language-specific issue – it appears to be a global issue for crayon
      pre class=”lang:sh”

      Test 6: block displaying code from another site using the url attribute – this block has no content inside the pre tags, it just has the url and then a /pre tag
      pre class=”url:https://gist.githubusercontent.com/grokk-it/0febc1f6d40bcdfe9c846f28e679ab38/raw/78258d150d762d7c4be3dd8ef53cd3c2eb66fffb/crayon_ex-02

      Test 7: HTML decode forced on with decode attribute (top) vs normal (bottom)
      pre class=”decode:true”

      pre

      Test 8: Visual editor > Format > Code
      >>

      Test 9: Visual editor > Format > Blocks > Preformatted

      Test 10: Visual editor > Crayon dialog

       

      Test 11: code tag with decode:true attribute set
      >>
      The syntax of code class=”decode:true” is technically correct but the code tag does not actually use attributes, so this does nothing.

      Test 12: code tag (top) vs backtick (bottom) for inline code
      > < & ' "
      > < & ' "
      Interestingly, the code tag and backtick behave differently when decoding quotation marks, even though they are theoretically interchangeable.

      The behavior of the code tag can be replicated by checking the “Inline” option in the Crayon dialog:
      > < &

      • This topic was modified 2 months, 3 weeks ago by grokkit.
      • This topic was modified 2 months, 3 weeks ago by grokkit.
      • This topic was modified 2 months, 3 weeks ago by grokkit.
      • This topic was modified 2 months, 1 week ago by grokkit.
      • This topic was modified 2 months, 1 week ago by grokkit.
    • #254150
      Inactive
      Topics: 2
      Replies: 32
      Points: 0
      Rank: Member

      < >

      &gt; &lt;

Viewing 1 reply thread
  • You must be logged in to reply to this topic.