Giter VIP home page Giter VIP logo

Comments (6)

zacharyvoase avatar zacharyvoase commented on June 8, 2024

The TOC extension doesn’t seem to support any kind of filtering. I agree that it’s stupid to be displaying the h1 in the TOC, so perhaps I’ll hack together a custom plugin that supports this kind of filtering.

As a side-note, I’m thinking about Markdoc.rb. It would make configuration and extension a lot easier.

from markdoc.

artob avatar artob commented on June 8, 2024

Oh man, you just made my day: Markdoc.rb would rock, hard.

Only topic of concern: the Python Markdown implementation seems pretty awesome, with all the extensions it has. I'm not certain Ruby has (yet) anything truly comparable? Then again, I do believe that a couple of the Ruby implementations have e.g. math notation support built in - so maybe it's a question of trade-offs.

from markdoc.

zacharyvoase avatar zacharyvoase commented on June 8, 2024

Kramdown looks promising: http://kramdown.rubyforge.org/quickref.html

The inline attribute list syntax would also be very useful for RDFa :)

from markdoc.

zacharyvoase avatar zacharyvoase commented on June 8, 2024

Imagine this:

I love [Ruby][]{:rel="foaf:interest"}.

Kramdown is very nice indeed.

from markdoc.

artob avatar artob commented on June 8, 2024

Kramdown was the one that had nice inline LaTeX math support as well: http://kramdown.rubyforge.org/syntax.html#math-blocks

from markdoc.

ifnull avatar ifnull commented on June 8, 2024

I added some formatting for TOC using javascript to add classes. It also implements Foundation 4.
https://github.com/blitzagency/markdoc-theme

from markdoc.

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.