Code Monkey home page Code Monkey logo

prism's Introduction

prism's People

Contributors

altano avatar dependabot[bot] avatar gusbemacbe avatar imgbotapp avatar jefrydco avatar jonleopard avatar lourot avatar vestride avatar zenorocha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

prism's Issues

Strange Bash Syntax Highlighting

Hello,

First off, thanks for making a prism port for the Dracula theme!

My site uses Gatsby, which is a static site generator that uses React under the hood. What I have done so far is copy the contents of dracula-prism.css and put inside my markdown.js component (I am using styled components, so css-in-js). You can see what I've done here:
https://github.com/jonleopard/jonleopard.com/blob/master/src/components/markdown.js#L93

The syntax seems a little off inside of the bash code blocks:
https://www.jonleopard.com/dotfile-management-with-gnu-stow/

The inline code do not seem to have a background color.
https://www.jonleopard.com/upgrading-ghost-inside-docker/

I think I have implemented everything correctly, but I was wondering what your thoughts are on the strange bash syntax highlighting, as well as the inline color issue.

Thanks again for making this !

Advice for who starred the old repository

Hello @jonleopard and anyone who starred and forked the old repository,

As you starred the old repository yesterday, I have upgraded the theme, fixing the bugs and finishing the job. But I have removed the old repository, then I have transferred to new official repository on Dracula Themes. You can star again and download the official theme here now. Check the install.

Thank you for your attention and understanding!

NPM Package

Hi!

Do you have any plan to publish this repo to NPM?

npm package `dracula-prism` includes dev dependencies

Because this package specifies all its dependencies in the dependency property of the package.json (instead of devDependency), projects which install this package also install each one, which they may not need.

My codebase, for example, now includes jquery:

$ yarn why jquery
yarn why v1.22.10
[1/4] ๐Ÿค”  Why do we have the module "jquery"...?
[2/4] ๐Ÿšš  Initialising dependency graph...
[3/4] ๐Ÿ”  Finding dependency...
[4/4] ๐Ÿšก  Calculating file sizes...
=> Found "[email protected]"
info Reasons this module exists
   - "dracula-prism" depends on it
   - Hoisted from "dracula-prism#jquery"
info Disk size without dependencies: "1.71MB"
info Disk size with unique dependencies: "1.71MB"
info Disk size with transitive dependencies: "1.71MB"
info Number of shared dependencies: 0

Can I use it for Vue?

Hi,
I really love dracula and I am glad that I found this. However, I think this doesn't support Vue yet.

image

How dracula in my vs code highlight it:

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.