Questions tagged [kramdown]

kramdown (sic, not Kramdown or KramDown, just kramdown) is a free MIT-licensed Ruby library for parsing and converting a superset of Markdown. It is completely written in Ruby, supports standard Markdown (with some minor modifications) and various extensions that have been made popular by the PHP Markdown Extra package and Maruku.

kramdown (sic, not Kramdown or KramDown, just kramdown) is a free MIT-licensed Ruby library for parsing and converting a superset of Markdown. It is completely written in Ruby, supports standard Markdown (with some minor modifications) and various extensions that have been made popular by the PHP Markdown Extra package and Maruku.

More Details

202 questions
0
votes
1 answer

Can I change the styling of the code box in a markdown file with scss?

I am trying to find out if I can effect the code box inside of a mark down document with scss? I am working on a jekyll project and I am using markdown for my posts. Id like to edit the styling of the code box inside of the .md but cant seem to…
0
votes
1 answer

"lilenos" parameter on Jekyll highlight tag makes the code disappear and only render the line numbers

I am writing a blog using Jekyll 4.0 on Windows 10, and when I use the highlight tag, everything works perfectly, however, once i use the linenos parameter, the web breaks and looks like this: If I inspect the html source, the code doesn't seem to…
Aleix Sanchis
  • 302
  • 3
  • 12
0
votes
1 answer

Github-pages/kramdown won't render my mixed markdown/html correctly

I've got a mixed HTML/Markdown page that I thought was pretty simple, but Github-pages giving inexplicable renderings. It's configured to use kramdown/GFM. This is the piece of code that's getting me: QuickFIX Settings ----------------- *…
Grant Birchmeier
  • 17,809
  • 11
  • 63
  • 98
0
votes
1 answer

why virtual functions can't be static and global?

What happens when we make virtual function static ? I tried to make a virtual function static in parent class but it was giving compiler error.
0
votes
2 answers

Markdown in nested divs not being processed

I'm creating a theme using Bootstrap with jekyll and I'm running into a problem when creating content in markdown. Ideally I'd like to structure my posts with Bootstrap grids like so:
#…
Jahnertz
  • 3
  • 1
0
votes
1 answer

How to access params hash in lib directory rails 6

In my rails app, I am using Kramdown to parse Markdown. I want to extend the functionality of the convert_a method in the HTML converter. Part of this involves accessing the database, but it is dependent on a parameter in the URL. Because I am not…
Chris Morgan
  • 85
  • 1
  • 6
0
votes
1 answer

jekyll won't render text after pdf is embedded into an article

I have the following in an article --- id: 1001 title: 'Cost of Self-Hosting a VPN server in AWS' date: 2019-07-09T15:49:03-04:00 --- Some text
nikhil
  • 8,925
  • 21
  • 62
  • 102
0
votes
0 answers

Jekyll kramdown css, text-align works but font-weight doesn't

I am trying to modify my code block with css. While an example like this works: {: style="text-align: center;"} ``` !! WARNING: TERRIBLE HUMOR AHEAD !! ``` (the text becomes centered inside the code block) the font weight just refuses to work {:…
Ishan Srivastava
  • 1,129
  • 1
  • 11
  • 29
0
votes
1 answer

Is there a 'kramdownify' filter in jekyll?

In jekyll there's a markdownify liquid filter which will parse the text to html according to standard markdown specifications. However I want to filter the text to the kramdown specifications so I can use kramdown features (such as classname, inline…
Lukas Chen
  • 373
  • 7
  • 15
0
votes
1 answer

Avoiding repeating long paths in image tags

I'm using Jekll and kramdown to build a static side. I am often repeating the same large paths to things in assets in image tags, like: ![Some image title](/assets/foo/bar/2019-03-17/more/stuff/groundbreaking-plot.svg) Can I somehow save the…
BeeOnRope
  • 60,350
  • 16
  • 207
  • 386
0
votes
2 answers

How to configure Jekyll Syntax Highlight?

By configure I mean font size, font family, syntax highlight style, line numbers and so on. I have followed some tutorials but they don't worked for me. What I did: added markdown: kramdown and highlighter: rouge to _config.yml; added a css theme…
tomrlh
  • 1,006
  • 1
  • 18
  • 39
0
votes
1 answer

Nested ordered list in kramdown

Accordly to kramdown documentation the syntax for nested unordered lists (and also the result) is the following. 1. 1st item 2. 2nd item 1. 1st sub-item of 2nd item 2. 2nd sub-item of 2nd item 3. 3rd item 1. 1st sub-item of 3rd item 2.…
gvgramazio
  • 1,115
  • 3
  • 13
  • 30
0
votes
2 answers

Jekyll: Reverse order lists not working in Internet Explorer

I wrote a blog post (here) using Jekyll where I use a reversed order list. So what I want is this: 10. Bla bla 9. Bla bla 8. Bla bla ... 1. Bla bla I do this in Jekyll using: --- layout: post title: 'Title' --- {: reversed="reversed"} 10. Bla…
ulima2_
  • 1,276
  • 1
  • 13
  • 23
0
votes
1 answer

Have different style apply to different syntax highlighter languages

I have a jekyll site where I post a lot of shell examples in code blocks. I struggle to visually delineate between the script/shell commands and their output of the commmands. Generated html:

function DemoCode…
FSCKur
  • 920
  • 7
  • 16
0
votes
1 answer

Pass blocks with latex commands verbatim when converting from kramdown

This may be a trivial problem, but I could not find a solution. I need to translate a markdown file into LaTeX using kramdown. However, in the .md file I have blocks of lines which has been already preprocessed, so that they contain LaTeX…
Massimo2013
  • 533
  • 4
  • 17