Code Monkey home page Code Monkey logo

Comments (3)

oneblog-bot avatar oneblog-bot commented on May 25, 2024

View your post at https://gabrielfalcao.essay.dev/post/28/issuing-an-essay

from essay.dev.

gabrielfalcao avatar gabrielfalcao commented on May 25, 2024

This comment was created via github interface

from essay.dev.

dwwoelfel avatar dwwoelfel commented on May 25, 2024

It won't pull in the some of the more GitHub-specific markdown add-ons because the GitHub API doesn't return those in the markdown.

The body field in the query below is what essay.dev uses to render the post. It is interesting that GitHub puts the hash link in the bodyHTML field, though.

query IssueQuery {
  gitHub {
    repository(name: "essay.dev" owner: "onegraph") {
      issue(number: 28) {
        bodyHTML
        body
      }
    }
  }
}
{
  "data": {
    "gitHub": {
      "repository": {
        "issue": {
          "bodyHTML": "<p>Today I found this project on <a href=\"https://news.ycombinator.com/\" rel=\"nofollow\">HackerNews</a> and decided to give it a try.</p>\n<p>The idea of a blog that uses Github issues as posts is intriguing, I'm wondering if it supports Github-flavored Markdown in its entirety.</p>\n<p>For instance, should the hash <a class=\"commit-link\" data-hovercard-type=\"commit\" data-hovercard-url=\"https://github.com/OneGraph/essay.dev/commit/431af3504780b1f69d74687715bd99e00cd8ac73/hovercard\" href=\"https://github.com/OneGraph/essay.dev/commit/431af3504780b1f69d74687715bd99e00cd8ac73\"><tt>431af35</tt></a> should point to a commit of this repository ?</p>",
          "body": "Today I found this project on [HackerNews](https://news.ycombinator.com/) and decided to give it a try.\r\n\r\nThe idea of a blog that uses Github issues as posts is intriguing, I'm wondering if it supports Github-flavored Markdown in its entirety.\r\n\r\nFor instance, should the hash 431af3504780b1f69d74687715bd99e00cd8ac73 should point to a commit of this repository ?\r\n\r\n"
        }
      }
    }
  }
}

from essay.dev.

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.