Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Issue 870 - Update highlight.js, use standard css, add plaintext+julia syntax #871

Merged
merged 2 commits into from
Oct 20, 2020

Conversation

Marc-Andre-Rivet
Copy link
Contributor

@Marc-Andre-Rivet Marc-Andre-Rivet commented Oct 20, 2020

Closes #870

Adds Julia support for dcc.Markdown and removes the partial highlight style css in favor of the one in the package.

Related to plotly/dash-table#841

@Marc-Andre-Rivet Marc-Andre-Rivet changed the title update highlight.js, use standard css, add plaintext+julia syntax Issue 870 - Update highlight.js, use standard css, add plaintext+julia syntax Oct 20, 2020
@Marc-Andre-Rivet Marc-Andre-Rivet marked this pull request as ready for review October 20, 2020 15:07
import highlightjs from 'highlight.js/lib/highlight';
import '../components/css/highlight.css';
import highlightjs from 'highlight.js/lib/core';
import 'highlight.js/styles/github.css';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Highlight.js 10.x changed the file structure

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💃 🎉

Copy link
Contributor

@harryturr harryturr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙈

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Julia syntax highlighting for dcc.Markdown
3 participants