Giter Club home page Giter Club logo

Comments (10)

holman avatar holman commented on August 30, 2024

This brings up a good point; I went and updated Left to use Jekyll 3 in #44. That might be helpful for you. I'm also going to take a peek at your stuff next- brb!

from left.

holman avatar holman commented on August 30, 2024

Lookin' sharp to me!

screen shot 2016-02-03 at 8 54 42 pm

...did you restart your server? :) Are there any errors that the server is spitting out?

from left.

katyhuff avatar katyhuff commented on August 30, 2024

I changed it back to rdiscount since it's a live site and I didn't want it
to be ugly all night. (
https://github.com/thehackerwithin/berkeley/blob/gh-pages/_config.yml).
If you make just the one change, you'll see it fail:

- markdown: rdiscount
+ markdown: kramdown

I'll push an ugly version to katyhuff.github.io/berkeley/

On Wed, Feb 3, 2016 at 8:55 PM, Zach Holman [email protected]
wrote:

Lookin' sharp to me!

[image: screen shot 2016-02-03 at 8 54 42 pm]
https://cloud.githubusercontent.com/assets/2723/12806171/637b2a50-cab8-11e5-99fe-331ade0b7414.png

...did you restart your server? :) Are there any errors that the server is
spitting out?


Reply to this email directly or view it on GitHub
#43 (comment).

http://katyhuff.github.com

from left.

katyhuff avatar katyhuff commented on August 30, 2024

alright katyhuff.github.io/berkeley/ is kramdown-ified now.

from left.

holman avatar holman commented on August 30, 2024

So I can reproduce it and it's really strange. Going to keep looking at it because I'm pretty sure it's something obvious that I'm missing.

from left.

holman avatar holman commented on August 30, 2024

Cool, figured it out:

diff --git a/_config.yml b/_config.yml
index adad3c4..7cfd329 100644
--- a/_config.yml
+++ b/_config.yml
@@ -4,6 +4,7 @@ markdown: rdiscount
 kramdown:
   input: GFM
   hard_wrap: false
+  parse_block_html: true
 github: thehackerwithin
 url: http://thehackerwithin.github.com/berkeley 
 name: Hacker Within
@@ -12,4 +13,3 @@ description: An initial blog and site for THW at UCB
 twitter: hackerwithin
 gravatar_url: http://www.gravatar.com/avatar/0203c034a145af6cc2576d56cdb4cf73
 disqus_username: hackerwithinadmin

I noticed that it didn't parse the Markdown when wrapped in an HTML tag. According to the kramdown docs, parse_block_html is disabled by default, so it was seeing the HTML tag and bailing. Guess those Markdown renderers aren't quite the same.

Let me know if this works for you!

from left.

katyhuff avatar katyhuff commented on August 30, 2024

Heck yes!!
Thanks @holman !

from left.

katyhuff avatar katyhuff commented on August 30, 2024

Hi there @holman . I think we have to reopen this. It looks like they finished the transition to kramdown yesterday. I assume that change caused things to look ugly again:

for me: https://thehackerwithin.github.com/berkeley/upcoming.html
and for you: https://zachholman.com/left/

I tried a couple of changes to my config file such as:

 markdown: kramdown
+highlighter: rouge
 kramdown:
   input: GFM
   hard_wrap: false
   parse_block_html: true
+  parse_span_html: true
+  auto_ids: true
+  smart_quotes: lsquo,rsquo,ldquo,rdquo
+  enable_coderay: false
+  syntax_highlighter: rouge

none of these additions helped.

from left.

holman avatar holman commented on August 30, 2024

Yours is fixed if you hit the http version instead of https; you have insecure content warnings so your browser isn't rendering the styles.

I'm fixing zachholman.com/left as soon as anything remotely works on github.

from left.

katyhuff avatar katyhuff commented on August 30, 2024

oh geez. bitmoji

Right you are. Sorry for bugging you about that.

from left.

Related Issues (5)

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.