Giter VIP home page Giter VIP logo

Comments (11)

benswift avatar benswift commented on September 22, 2024 2

Hey @joshgoebel thanks for the heads up. @cyblue9 and I will get on it asap.

from highlightjs-extempore.

cyblue9 avatar cyblue9 commented on September 22, 2024

Hi @joshgoebel

I tried to update.
Updated branch is below.

https://github.com/highlightjs/highlightjs-extempore/tree/feature/update_latest_spec

Please review.
If it is nothing problem, I merge this branch to main branch.

from highlightjs-extempore.

joshgoebel avatar joshgoebel commented on September 22, 2024

I'd recommend changing:

<script type="text/javascript" src="/path/to/highlightjs-extempore/dist/extempore.min.js"></script>

to

<script type="text/javascript" src="/path/to/extempore.min.js"></script>

Someone using the file directly is likely to just by copying it or moving it (alone) into a better location, using it with the entire git checkout would be kind of strange - though I suppose you could do it. I'll leave changing it up to you, but I think I'd try to encourage someone to use just the single file vs deploying the whole repository to their project.

from highlightjs-extempore.

joshgoebel avatar joshgoebel commented on September 22, 2024

N/m, now I see my own sample repo does this - though it's still bugging me - but I can't believe I haven't noticed till now. :) I'm going to give it more thought. :) Your call.

from highlightjs-extempore.

benswift avatar benswift commented on September 22, 2024

Hey @joshgoebel I don't think I have a strong opinion on this, although I do think that just copying in the minified file is probably easier & nicer than having to copy the whole directory. So unless there's some reason that you're keeping the "copy whole directory" instructions, we'll probably just do it the way you (initially) suggested. What do you reckon?

from highlightjs-extempore.

joshgoebel avatar joshgoebel commented on September 22, 2024

So unless there's some reason that you're keeping the "copy whole directory" instructions

Well there are no instructions like that. :) It's just implied. :-) I'm going to change it now.

from highlightjs-extempore.

joshgoebel avatar joshgoebel commented on September 22, 2024

highlightjs/highlightjs-robots-txt@2c9d6e0

from highlightjs-extempore.

cyblue9 avatar cyblue9 commented on September 22, 2024

Hi @joshgoebel

I changed README.md by referring to highlightjs/highlightjs-robots-txt@2c9d6e0.
Is it OK?

https://github.com/highlightjs/highlightjs-extempore/tree/feature/update_latest_spec

from highlightjs-extempore.

benswift avatar benswift commented on September 22, 2024

Btw I'll probably remove that "see how Ben does it on his blog" comment in the readme once this change lands, because this new way is better. But let's just get this thing figured out first.

from highlightjs-extempore.

joshgoebel avatar joshgoebel commented on September 22, 2024

Looks good at a glance!

from highlightjs-extempore.

cyblue9 avatar cyblue9 commented on September 22, 2024

@joshgoebel @benswift

Thank you for checking!
I've fixed Ben's point and merged it into the main branch.

from highlightjs-extempore.

Related Issues (6)

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.