Jiří Smolík
Jiří Smolík
@dometto I don't think it's that difficult :). First, we should probably break the problem down, however: ## Single-pane vs dual-pane **Dual-pane** This is probably the stuff of nightmares that...
The best gems I could find: 1. https://rubygems.org/gems/nokogiri-diff - doesn't seem to provide a way to generate the context... - downloads: 24,565 2. https://rubygems.org/gems/diffident - seems like a great all-around...
I found and inspected that one too but it's kinda ancient and doesn't seem configurable at all :). Not to mention it only appears to diff words.
Great idea! I had this issue with external editors myself... @dometto @bartkamphorst How about a couple of URL parameters? E.g.: - `/wiki/my-page?cwd` (display page from the working directory) - `/wiki/my-page?index`(display...
> IMHO this would be too much trouble to implement The only problem that I can see is git index :). All the other options are more or less ready/implemented....
> Wouldnt it be simpler to just get the file content directly from the filesystem. Yes, definitely :). I just mentioned the `index` option for the sake of completeness, not...