-
-
Notifications
You must be signed in to change notification settings - Fork 0
[#132] Add Highlight.js syntax highlighter #137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,6 +47,7 @@ module: | |
| gin_toolbar: 0 | ||
| google_tag: 0 | ||
| help: 0 | ||
| highlight_js: 0 | ||
| history: 0 | ||
| image: 0 | ||
| image_captcha: 0 | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -6,6 +6,7 @@ dependencies: | |||||
| - core.entity_view_mode.media.embedded | ||||||
| module: | ||||||
| - editor | ||||||
| - highlight_js | ||||||
| - linkit | ||||||
| - media | ||||||
| _core: | ||||||
|
|
@@ -44,9 +45,15 @@ filters: | |||||
| status: true | ||||||
| weight: -50 | ||||||
| settings: | ||||||
| allowed_html: '<br> <p class="ct-text-large ct-text-small text-align-left text-align-center text-align-right"> <h2 id class> <h3 id class="text-align-left text-align-center text-align-right"> <h4 id class="text-align-left text-align-center text-align-right"> <h5 id class="text-align-left text-align-center text-align-right"> <h6 id class="text-align-left text-align-center text-align-right"> <a class="ct-button ct-theme-light ct-theme-dark ct-button--primary ct-button--regular ct-button--secondary ct-button--large" hreflang target title href data-entity-type data-entity-uuid data-entity-substitution> <table class="ct-theme-light ct-theme-dark ct-table ct-table--striped"> <cite> <dl> <dt> <dd> <img src alt data-entity-type data-entity-uuid> <drupal-entity alt title data-entity-type data-entity-uuid data-entity-embed-display data-entity-embed-display-settings data-align data-caption data-embed-button> <span class="ct-visually-hidden"> <svg role viewBox aria-hidden width height class="ct-icon"> <path d> <blockquote cite> <drupal-media title data-entity-type data-entity-uuid alt data-caption data-align> <strong> <em> <u> <code class="language-*"> <pre class="text-align-left text-align-center text-align-right"> <s> <sub> <sup> <ul type> <ol type start> <li> <tr> <td rowspan colspan> <th rowspan colspan> <thead> <tbody> <tfoot> <caption>' | ||||||
| allowed_html: '<br> <p class="ct-text-large ct-text-small text-align-left text-align-center text-align-right"> <h2 id class> <h3 id class="text-align-left text-align-center text-align-right"> <h4 id class="text-align-left text-align-center text-align-right"> <h5 id class="text-align-left text-align-center text-align-right"> <h6 id class="text-align-left text-align-center text-align-right"> <a class="ct-button ct-theme-light ct-theme-dark ct-button--primary ct-button--regular ct-button--secondary ct-button--large" hreflang target title href data-entity-type data-entity-uuid data-entity-substitution> <table class="ct-theme-light ct-theme-dark ct-table ct-table--striped"> <cite> <dl> <dt> <dd> <img src alt data-entity-type data-entity-uuid> <drupal-entity alt title data-entity-type data-entity-uuid data-entity-embed-display data-entity-embed-display-settings data-align data-caption data-embed-button> <span class="ct-visually-hidden"> <svg role viewBox aria-hidden width height class="ct-icon"> <path d> <blockquote cite> <drupal-media title data-entity-type data-entity-uuid alt data-caption data-align> <strong> <em> <u> <code class="language-*"> <pre class="text-align-left text-align-center text-align-right"> <s> <sub> <sup> <ul type> <ol type start> <li> <tr> <td rowspan colspan> <th rowspan colspan> <thead> <tbody> <tfoot> <caption> <highlight-js data-plugin-config data-plugin-id>' | ||||||
| filter_html_help: true | ||||||
| filter_html_nofollow: false | ||||||
| highlight_js: | ||||||
| id: highlight_js | ||||||
| provider: highlight_js | ||||||
| status: true | ||||||
| weight: -40 | ||||||
| settings: { } | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix YAML empty-brace formatting (YAMLlint error)
🛠️ Proposed fix- settings: { }
+ settings: {}📝 Committable suggestion
Suggested change
🧰 Tools🪛 YAMLlint (1.38.0)[error] 56-56: too many spaces inside empty braces (braces) 🤖 Prompt for AI Agents |
||||||
| filter_html_escape: | ||||||
| id: filter_html_escape | ||||||
| provider: filter | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,12 @@ | ||||||||||
| copy_enable: true | ||||||||||
| copy_bg_transparent: false | ||||||||||
| copy_bg_color: '#4243b1' | ||||||||||
| copy_txt_color: '#ffffff' | ||||||||||
| copy_btn_text: '' | ||||||||||
| copy_success_text: '' | ||||||||||
| success_txt_color: '#ffffff' | ||||||||||
| role_copy_access: { } | ||||||||||
| languages: { } | ||||||||||
|
Comment on lines
+8
to
+9
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix YAML empty-brace formatting (YAMLlint error) Both 🛠️ Proposed fix-role_copy_access: { }
-languages: { }
+role_copy_access: {}
+languages: {}📝 Committable suggestion
Suggested change
🧰 Tools🪛 YAMLlint (1.38.0)[error] 8-8: too many spaces inside empty braces (braces) [error] 9-9: too many spaces inside empty braces (braces) 🤖 Prompt for AI Agents |
||||||||||
| theme: github | ||||||||||
| success_bg_transparent: false | ||||||||||
| success_bg_color: '#4243b1' | ||||||||||
Uh oh!
There was an error while loading. Please reload this page.