chutsu / ditto Goto Github PK
View Code? Open in Web Editor NEWLightweight Markdown Documentation System
Home Page: chutsu.github.io/ditto
Lightweight Markdown Documentation System
Home Page: chutsu.github.io/ditto
As discussed in #9, @ConnorAtherton has suggested we use a package manager to keep track of JavaScript dependencies. This issue aims to integrate that into the project.
Tried getting Highlight JS to work with some code blocks without success. Are there any tips to get it highlighting working with ditto?
Im planning to use ditto for a personal notebook but I expect to have a lot of menu links. Any ideas how to get this?
Seems like an easy input cleanup to let people write .md at the end of filenames when they reference them, instead of a common error causing frustration.
Pages using v 11 are getting:
Failed to load resource: the server responded with a status of 404 (Not Found)
http://chutsu.github.io/ditto/ver/0.11/highlight_8.0.min.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://chutsu.github.io/ditto/ver/0.11/google_code.css Failed to load resource: the server responded with a status of 404 (Not Found)
Maybe there's something wrong with the url git.io/vUWYz.
all i got is 404 from it.
curl -L http://git.io/vUWYz > install.sh && sh install.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 15 100 15 0 0 4 0 0:00:03 0:00:03 --:--:-- 48
install.sh: 1: install.sh: 404:: not found
Really like your minimalistic approach to documentation. I was wondering whether you could add a bit more information about how the search functionality is implemented in the documentation.
I have a simple site set up (gh-pages branch of https://github.com/hartzell/ditto-exploration, http://hartzell.github.io/ditto-exploration/). The sidebar has a link at the top to return to the main page, stolen shamelessly from the ditto site.
# [de]()
Using Chrome on a mac, if I go to the main page, http://hartzell.github.io/ditto-exploration/, there are no errors in the javascript console. If I click on the 'de' link in the top of the sidebar, I get an "Uncaught TypeError message in the console.
It doesn't seem to have any particularly ill effects, but seems to be a bit messy.
Thanks for the neat tool.
I had trouble getting the searchbox to do what I expected and eventually tracked it down to the fact that GitHub only indexes/searches the master branch and ditto.js includes a constraint to only search markdown files.
I think it would be clearer if:
I've created an orphan gh-pages branch, following the GitHub recipe.
I was confused when searching via the searchbox didn't find any of my pages.
A bit of googling reminded me that they only index the repo's default branch ("master").
Since I wasn't sure that GitHub indexed markdown files I created a perl file on the master branch, but search was unable to find it.
A quick scan of ditto.js revealed that the actual search (for "Foo") looks like this:
https://api.github.com/search/code?q=Foo+in:file+language:markdown+repo:hartzell/ditto-exploration
This doesn't find anything because of the "language:markdown" constraint.
Hi,
There's already a well established project using mdoc
as one of its names.
Could you rename your project to avoid the confusion, please?
Kind regards,
rjc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.