GithubHelp home page GithubHelp logo

Comments (9)

JacobBennett avatar JacobBennett commented on April 28, 2024

@RobinMalfait try surrounding your code with code fences

reference https://help.github.com/articles/github-flavored-markdown/#fenced-code-blocks

Putting those in should help render the code correctly

from gistlog.

mattstauffer avatar mattstauffer commented on April 28, 2024

well, this one is unique because it's the embedded file instead of a code snippet inside a markdown file, so the code fences won't work.

from gistlog.

mattstauffer avatar mattstauffer commented on April 28, 2024

image

Well, that will do it.

from gistlog.

JacobBennett avatar JacobBennett commented on April 28, 2024

so this sort of relates to issue #45 that @RobinMalfait suggested as well. I would say that this is not the typical use case for GistLog.

I'm not saying that it shouldn't be thought about being implemented as a feature in the future, but for now, isn't GistLog more about placing a responsive skin over top of a MarkDown file? Thoughts?

from gistlog.

RobinMalfait avatar RobinMalfait commented on April 28, 2024

@mattstauffer I'm always unique :D

@JacobBennett well, isn't it a bit useless to put fences around code, if it is only code?

from gistlog.

mattstauffer avatar mattstauffer commented on April 28, 2024

@JacobBennett is right in that this isn't really a tool for putting code ALONE.

It's really for blogging, in Markdown, which means fenced code (IN a markdown file) is the first-class citizen.

But if we can simply fix it, like I may (?) have done in #74, that's fine. :)

And yah, @RobinMalfait, you really are the problem child ;)

from gistlog.

RobinMalfait avatar RobinMalfait commented on April 28, 2024

@mattstauffer I know you love me!

from gistlog.

JacobBennett avatar JacobBennett commented on April 28, 2024

@mattstauffer fixed with #72

from gistlog.

mattstauffer avatar mattstauffer commented on April 28, 2024

Hm. Still wish we had the correct syntax highlighting. But that can be a separate issue.

from gistlog.

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.