Comments (13)
@iamjono Hi, thanks for the feedback!
Have you done prerequisites?
brew install discount
from markdown.
Yep...
$ brew install discount
Warning: discount-2.2.0 already installed
from markdown.
@iamjono: could you, please, check if it works with Carthage on your system?
from markdown.
I'm not using Carthage... I'm on Xcode 8.0 Beta 2, using SPM.
If I'm using SPM it should work without Carthage I would have presumed?
from markdown.
@iamjono: Yes, it should. I'm just asking if you could try it with Carthage to find out if the issue is your system specific.
from markdown.
Yeah I did just try it with Carthage - no joy.
Note that there was already an entry in the linked frameworks and libraries for the Markdown.framework.
I should also note that it doesn't compile on the commandline using swift build
, nor in Xcode.
from markdown.
@iamjono: thanks a lot! Looks like something new. Will take a look at it asap.
from markdown.
That would be awesome, thanks!
from markdown.
Hi @iamjono ,
For the proper build, you have to add a header and library path to swift build
command. So your command will be like this:
swift build -Xcc -I/usr/local/include -Xlinker -L/usr/local/lib
But seems as Markdown isn't ported to Swift 3.0 yet :(
from markdown.
Yep figured as much, on both counts.
I really wanted to use it for generating the HTML docs from markdown for https://github.com/PerfectlySoft/PerfectDocs :)
from markdown.
@iamjono @ypopovych I will get my hands on this this week to make it both Swift 2/3 compatible
from markdown.
@ypopovych @iamjono I've published a new version which supports Swift 3.0 (works with the newest Xcode). For now there is no possibility to build it without additional flags on Mac with swift build
as there is no support for pkg-config
in the underlying system library.
So, to build it on a Mac with swift build
you still have to use these flags:
swift build -Xcc -I/usr/local/include -Xlinker -L/usr/local/lib
I will talk to the system library developers about the pkg-config
issue. Let's see what we can do.
from markdown.
@iamjono @ypopovych Some good news here, guys. I've made a PR to libmarkdown
with pkg-config
and it's merged already. Waiting for a new release.
from markdown.
Related Issues (6)
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 markdown.