summaryrefslogtreecommitdiff
path: root/Pancake.hs
AgeCommit message (Collapse)Author
2017-11-01Don't rely on INSIDE_EMACSdefanor
It is getting set by M-x term and shell as well, so it's wrong to decide whether to run in the embedded mode based on it.
2017-10-31Fix newline handlingdefanor
`fitWords` used to look for plain newlines, missing styled ones.
2017-10-31Update to pandoc 2defanor
2017-10-31Handle fragment identifiersdefanor
This took a bit of refactoring, and now providing link and identifier lists to the emacs interface as well (though not using them yet).
2017-10-31Refactor: get rid of long lines, cleanupdefanor
2017-10-31Add basic table supportdefanor
2017-10-31Implement document reloadingdefanor
2017-10-30Invoke external viewers properlydefanor
Set an environment variable for file name.
2017-10-30Default to plain text readerdefanor
2017-10-29Default to HTML on HTTPdefanor
2017-10-29Adjust filename extension handlingdefanor
Add more extensions to handle by external viewers by default, handle ".htm" for HTML, compare their downcased versions.
2017-10-29Set the -n option for emacsclient by defaultdefanor
There's no need in waiting (it's rather harmful, actually), and it pollutes stdout -- so adding the `-n` (--no-wait) option.
2017-10-29Fix gopher URI parsingdefanor
Using `splitDirectories` for its paths (types + selectors) was a bad idea, particularly leading to misbehaviour with "hURL:" redirects.
2017-10-29Start rendering with zero indentationdefanor
A minor fix: `renderDoc` used to call `renderBlocks`, which increases indentation at once, giving a minimum indentation level of 1.
2017-10-28Use plain curl for gopher by defaultdefanor
Though the gopher onion initiative is nice, that's an unnecessary dependency here -- better to not set by default.
2017-10-28Change fragment link colorsdefanor
So that they are distinguishable from active links.
2017-10-28Add the historyDepth settingdefanor
2017-10-28Support interruptionsdefanor
This is mostly to kill curl processes that take too long to finish.
2017-10-28Improve plaintext renderingdefanor
Reuse lineToInlines previously used for Gopher, and adjust fitLines.
2017-10-28Handle LaTeX file extensionsdefanor
2017-10-28Add pancake.el, an emacs interfacedefanor
- Relicense under GPLv3: pandoc is under GPLv2, it's expected of emacs packages to be under GPLv3, so it seems appropriate. - Add support for embedding (in particular, print s-expressions instead of escape sequences). - Add the emacs package.
2017-10-26Don't store or count fragment linksdefanor
It doesn't make much difference, but would provide nicer enumeration.
2017-10-26Adjust file type detectiondefanor
Mostly for Gopher.
2017-10-26Initial commitdefanor