Questions tagged [maruku]

Maruku is a markdown-to-HTML processor. It also implements PHP Markdown Extra and further syntax. It is the default processor used by Jekyll.

Maruku is a markdown-to-HTML processor. It also implements PHP Markdown Extra and further syntax. It is the default processor used by Jekyll. Github page.

21 questions
52
votes
11 answers

Embed javascript in markdown

I'm using the Maruku markdown processor. I'd like this *blah* blah "blah" in [markdown](blah) but it complains when I render it with a multitude…
Paul Tarjan
  • 44,540
  • 54
  • 163
  • 207
15
votes
4 answers

Jekyll documentation to PDF with TOC

I would like to write documentation using Jekyll with HTML and PDF outputs. Html can have a navigation but the PDF should have table of contents. Is there a free and easy way to do that? The HTML part is easy but I would like to use @media print…
Pekka Mattila
  • 604
  • 8
  • 17
12
votes
2 answers

Maruku tells you: what's wrong with me?

I use jekyll --server to test my site at localhost. But there are a few lines of input, like this: ___________________________________________________________________________ | Maruku tells you: …
vagabond
  • 430
  • 1
  • 4
  • 18
7
votes
1 answer

How do I tell Jekyll/Maruku which post has the Markdown syntax error?

How do I tell Jekyll/Maruku to tell me which file has my Mardown syntax error? The build warning only tells me so much: $ jekyll --safe Configuration from /homne/me/_config.yml Building site: /homne/me -> /homne/me/_site …
eoinoc
  • 2,725
  • 3
  • 22
  • 37
5
votes
2 answers

I need to go from HTML to markdown, any suggestion?

I'm using Maruku, to convert from Markdown (superset) to HTML, do you know how can I do to convert from HTML to Markdown?
Claudio Acciaresi
  • 30,072
  • 5
  • 31
  • 41
4
votes
4 answers

pygments problems in jekyll

I use jekyll in github pages. http://juanpabloaj.github.com/ But, when I add the syntax.css file for pygments default.html jekyll don't show the syntax, I have set…
JuanPablo
  • 21,182
  • 32
  • 102
  • 155
3
votes
1 answer

Maruku/Markdown syntax meaning "+--" "=--"

I came across some syntax in a raw Markdown file which I believe might be Maruku specific: +--{.abstract} ### Abstract Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut…
JoshAdel
  • 57,369
  • 23
  • 130
  • 131
3
votes
1 answer

Maruku incorrectly parsing second line of code blocks?

I'm using Maruku (Ruby) to parse some Markdown formatted text. I have a problem when trying to format a block of code like such: This is a normal line # pretend this line is empty printf("First line of code is OK"); printf("Second line of…
jbrennan
  • 11,523
  • 14
  • 69
  • 110
2
votes
2 answers

Rail 3 escaping maruku

I am using Maruku with my RoR3 app. But the problem is that when i use the h(text) method to escape the text from the database before i use Maruku it escapes > to > so Maruku wont see this as a blockquote. But i still want to escape the rest of…
Lisinge
  • 1,927
  • 2
  • 26
  • 44
2
votes
0 answers

Maruku markdown deletes any html in list item

Simple example here. Source: hello 1. world Target: hello
Seems to happen no matter what tag I use. As far as I can tell from daring fireball's markdown documentation, this should be…
djechlin
  • 54,898
  • 29
  • 144
  • 264
2
votes
1 answer

How to prevent maruku from creating IDs on its own

I'm using Maruku as a markdown filter in HAML, and it creates huge useless (for me) IDs on every single header. So if I have something like this ## This is a header It'll make

This is a header

Which at a certain…
user137369
  • 4,260
  • 5
  • 25
  • 49
1
vote
2 answers

Unable to run jekyll

I use Github pages to host my websites,I have test it on my local machine, and it works well, but when I push my sites on Github, I got an error. It says The page build failed with the following error: unable to run jekyll My _config.yml…
1
vote
2 answers

Prevent Maruku from posting so many log warnings

I use Maruku in Rails simply to convert a Markdown file to HTML so I can use it with Nokogiri. (Maybe there's a better solution for that?) That works fine, but I get lots and lots of "Maruku tells you" messages in the log: …
Juuro
  • 1,167
  • 4
  • 11
  • 22
1
vote
0 answers

textile and maruku problem

I've developed custom filters for HAML (http://github.com/alec-c4/cb-haml-filters) and have a small problem with textile and maruku. Maybe you can help me with this Problem with textile with code %h2 Textile test :cbtextile h4. YouTube…
Alexey Poimtsev
  • 2,835
  • 3
  • 31
  • 61
0
votes
1 answer

Problems using Maruku in Rails 3

I am new to Rails but have used PHP extensively over the years. I am building a simple blog (I know) to get my skills up in the MVC/Rails world. I have the basics working but have spent the weekend trying to get Maruku to work eg a post body saved…
rollbahn
  • 1
  • 1
1
2