SwiftMark icon indicating copy to clipboard operation
SwiftMark copied to clipboard

Build errors

Open kimaldis opened this issue 9 years ago • 5 comments

Downloaded the project, tried to build. 76 compiler errors. Xcode 8, what am I missing?

kimaldis avatar Nov 22 '16 15:11 kimaldis

I guess you tried to compile swiftMarkiOS target. The OSX sample compiles. I can see 54 errors for iOS. I check what is going on.

l65l avatar Nov 22 '16 16:11 l65l

It is a build setting issue. you can quick fix by setting - Use Legacy Swift language Version - to NO on the SwiftMarkiOS target.

l65l avatar Nov 22 '16 16:11 l65l

You're right, I was building for iOS. Sorry, I'm a bit green still on all things Xcode but I should have spotted that. Thanks.

kimaldis avatar Nov 22 '16 17:11 kimaldis

I don't know how much you care about dealing with html code in markdwon, I know it's a fuzzy topic, but if found that:

 <p>
    # some title
 </p>

markdown within the tag didn't get parsed. However;

<p>

    # some title
</p>

with an empty line after the opening tag, the markdown did get parsed correctly.

kimaldis avatar Nov 22 '16 18:11 kimaldis

hello @kimaldis , this looks like another issue. Please open a new issue with more details like input string and output string in both cases. Thanks

l65l avatar Nov 22 '16 18:11 l65l