Git Product home page Git Product logo

Comments (7)

nawroth avatar nawroth commented on July 1, 2024

I thought about that case yesterday but didn't get around implementing it!

from docgist.

nawroth avatar nawroth commented on July 1, 2024

When creating a web site using AsciiDoc it might make sense to use root-relative locations.

BTW this has two aspects: root-relative settings for imagesdir and root-relative src on the images themselves.

from docgist.

nawroth avatar nawroth commented on July 1, 2024

See: http://nawroth.github.io/docgist/?github-powerman%2Fasciidoc-cheatsheet%2F%2FREADME.adoc
It also fixes the link to the image!

from docgist.

nawroth avatar nawroth commented on July 1, 2024

It now works for GitHub repos, but not in most other cases. Feel free to reopen @mojavelinux

from docgist.

mojavelinux avatar mojavelinux commented on July 1, 2024

What are the other cases it doesn't work? You mean Dropbox or gist?

from docgist.

nawroth avatar nawroth commented on July 1, 2024

GitHub gists are more or less impossible as they don't allow binary data.

We would need code to cover Dropbox and copy.com.
I think it works well enough for "unidentified URLs".

from docgist.

mojavelinux avatar mojavelinux commented on July 1, 2024

GitHub gists are more or less impossible as they don't allow binary data.

Actually they do. It's just that the only way to get the file there is by using the git client.

Here's an example:

http://gist.asciidoctor.org/?f56f067d595eae1e2974

What's funny is that the images don't work in GitHub's gist, but I can make them work on docgist (note that right now I'm hardcoding the image URL...maybe we can calculate it).

from docgist.

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.