Comments (4)
So I've just tested it again, and indeed the error shows up.
Simply add the directive
replace gopkg.in/russross/blackfriday.v2 => github.com/russross/blackfriday/v2 v2.0.1
to your go.mod
and tell me if that works.
from bfchroma.
Hey,
So first of all I've had a whole bunch of issues related to this.
Now bfchroma uses this directive in the go.mod
file:
replace gopkg.in/russross/blackfriday.v2 => github.com/russross/blackfriday/v2 v2.0.1
So in the bfchroma code I'm using the gopkg.in
notation so that people that are not using modules can still go get
the code. People using go modules should see no difference though, so I don't understand why you're facing an issue now.
Can I see your go.mod
file? Or at least the section that requires both bfchroma
and blackfriday
?
Note that blackfriday developers recommend using the gopkg.in
notation. I don't know why though.
from bfchroma.
Yeah that works, I really have no idea why that is required, seems like maybe an issue with blackfriday. But thanks for the help
from bfchroma.
Honestly I thought that was not needed since I already put that in the go.mod
of bfchroma.
Guess I still have to learn some things about go modules
Thanks for reporting the issue anyway, have a gif
from bfchroma.
Related Issues (10)
- Couple comments from Blackfriday HOT 5
- required package does not exist HOT 6
- Upgrade to chroma v2 HOT 2
- Dependency Dashboard
- couldn't support utf-8 code. Chinese font. HOT 2
- gopkg.in -> go/dep, however vendor dir hasn't been checked in HOT 7
- Cannot use bfchroma with Go 1.11 modules HOT 24
- Underterministic output HOT 6
- Not detecting yaml in v1.1.1? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bfchroma.