Giter Club home page Giter Club logo

Comments (18)

metude avatar metude commented on July 17, 2024

+1. Good call.

Actually I use it for a few weeks. Definitely better and faster than others. In previous releases parsedown was not good enough but for today, this is not a problem. Also keeping development each day.

from laravel-markdown.

GrahamCampbell avatar GrahamCampbell commented on July 17, 2024

@metude This is now available on the develop branch. Note that the develop branch is targeting Laravel 4.2 now. I plan to release Laravel Markdown 2.0 in July this year, but the develop branch is aliased to 2.0, so if anyone wants to try it before then they can. Truth be told, I won't be doing much work on it from now until release, so it's not going to change much from how it is now.

EDIT: Laravel Markdown 2.x will support Laravel 4.1, 4.2, and 4.3.

from laravel-markdown.

iBotPeaches avatar iBotPeaches commented on July 17, 2024

So your recommendation is using develop branch with 4.2? Or should I hold on the 4.2 upgrade until 2.0 is released in July?

from laravel-markdown.

GrahamCampbell avatar GrahamCampbell commented on July 17, 2024

@iBotPeaches There's not much point in waiting for this package to make a stable 2.0 release if you want the new stuff in laravel 4.2. I'm pretty much done with the updates for 2.0 now after I pushed 881e7e5. That commit means than we can now use laravel's view functionality to render pages in .md, .md.php and .md.blade.php, in addition to still using the render function that's available on the Markdown class. I'm unlikely to make any more breaking changes. If I do, I'll notify everybody on this issue. You can see the differences between the current stable release and the development version here: master...develop.

The best course of action for how would be to:

{
    "require": {
        "laravel/framework": "4.2.*",
        "graham-campbell/markdown": "~2.0@dev"
    }
}

Also, it's important to note that this package will be keeping support for laravel 4.1.

Just to say this again:

Laravel Markdown 2.x will support Laravel 4.1, 4.2, and 4.3.

from laravel-markdown.

GrahamCampbell avatar GrahamCampbell commented on July 17, 2024

Just a quick note about a bc break I just made. After my last commit, if you are injecting this class through typhinting etc, you'll need to type hint GrahamCampbell\Markdown\Markdown now instead of GrahamCampbell\Markdown\Classes\Markdown. I'm doing similar things over my other packages as they head towards a major version bump.

from laravel-markdown.

ryanscherler avatar ryanscherler commented on July 17, 2024

Is there to be an update to use Parsedown Exra? Is it possible to use now via a config option for the package? https://github.com/erusev/parsedown-extra

from laravel-markdown.

GrahamCampbell avatar GrahamCampbell commented on July 17, 2024

@ryanscherler I'll be doing this as soon as a release is tagged on that repo.

from laravel-markdown.

GrahamCampbell avatar GrahamCampbell commented on July 17, 2024

Oh, I see one has been tagged. I'll upgrade to it later today.

from laravel-markdown.

GrahamCampbell avatar GrahamCampbell commented on July 17, 2024

Done.

from laravel-markdown.

ryanscherler avatar ryanscherler commented on July 17, 2024

Thanks Graham! Updating now.

from laravel-markdown.

ryanscherler avatar ryanscherler commented on July 17, 2024

I just updated to the latest. Is there a config option to enable "extra" parsing options? e.g. I want to use the extra class options for an image for example {.class}

from laravel-markdown.

GrahamCampbell avatar GrahamCampbell commented on July 17, 2024

I'm not sure what you mean. Parsedown extra should be allways enabled now.

from laravel-markdown.

ryanscherler avatar ryanscherler commented on July 17, 2024

I updated my composer version to the latest as noted in the readme and then ran an update. After that I tried to run my app and see if the new parser was kicking in the additional class attributes and it was still just showing the brackets after the image. Not sure why its still behaving as it was before?

from laravel-markdown.

ryanscherler avatar ryanscherler commented on July 17, 2024

Here is a screenshot of my app with the sample text I am using to try and render:

screen shot 2014-06-27 at 10 11 38 am

from laravel-markdown.

GrahamCampbell avatar GrahamCampbell commented on July 17, 2024

@ryanscherler This is behond the scope of this packge. Please take this up with parsedown extra itself: https://github.com/erusev/parsedown-extra/issues/new.

from laravel-markdown.

ryanscherler avatar ryanscherler commented on July 17, 2024

Ok will do ;-) Thanks for providing this wrapper and I am sure it will resolve over time with parsedown extra.

from laravel-markdown.

GrahamCampbell avatar GrahamCampbell commented on July 17, 2024

Cool. Be sure to check out the new integration with the laravel view system v2.0 of this package will ship with.

from laravel-markdown.

GrahamCampbell avatar GrahamCampbell commented on July 17, 2024

I've just tagged a release candidate. I'll do a full release in a week or so if no other problems arise.

from laravel-markdown.

Related Issues (20)

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.