Giter Site home page Giter Site logo

Fenced code blocks don't work about cactus HOT 7 OPEN

eudicots avatar eudicots commented on June 17, 2024
Fenced code blocks don't work

from cactus.

Comments (7)

chriseidhof avatar chriseidhof commented on June 17, 2024

I think it should work like this:

{% filter markdown:"extra" %}

However, it doesn't seem to work. I'm using the Mac app, by the way.

from cactus.

chriseidhof avatar chriseidhof commented on June 17, 2024

@koenbok any update on this?

from cactus.

ogrodnek avatar ogrodnek commented on June 17, 2024

+1 would love support for fenced code blocks.

from cactus.

stefanooldeman avatar stefanooldeman commented on June 17, 2024

In that case I suggest we implement the complete set of github's markdown syntax.

client side: https://github.com/isaacs/github-flavored-markdown
or
server side: https://github.com/chjj/marked

from cactus.

hugorodrigues avatar hugorodrigues commented on June 17, 2024

+1

from cactus.

krallin avatar krallin commented on June 17, 2024

Hi there,

How do you guys envision this working? Would the following make sense:

{% markdown %}
# Markdown goes here
{% endmarkdown %}

If so, this could probably be implemented as a plugin (see: #31).

Let me know your thoughts. I might give this a go myself and see where this gets us.

Cheers,

from cactus.

deldreth avatar deldreth commented on June 17, 2024

This issue is fairly old now. However, this works for me on Cactus 3.3.3:

{% filter markdown:"fenced-code-blocks" %}
{% verbatim %}
{% endverbatim %}
{% endfilter %}

Along with other extensions supported by Markdown2.

from cactus.

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.