wiki

Wiki rendering engine for C#? like redcloth, bluecloth, or something decent

有些话、适合烂在心里 提交于 2019-12-04 12:43:12
We have used the redcloth and bluecloth wiki renderer's with Ruby, basically you can do something like this... html = RedCloth.to_html(wiki_content) and poof, you get back HTML. Is there something out there for C#/.NET ? try http://wikiplex.codeplex.com/ There are some wiki rendering engines but the names escape me right now. Perhaps check out some of these open-source options ? I've previously reviewed MindTouch from that list for an application and it was quite rich, but it did much more than I needed to do. If you just need something to turn text into HTMLcontent, I use Halide which lets

Rolling Your Own Plaintext Wiki (Wiki inside a DB)

放肆的年华 提交于 2019-12-04 07:48:37
问题 Anyone know of an API (php preferable but I'd be interested in any language) for creating wiki-like data storage? How about any resources on rolling your own plaintext wiki? How do other plaintext wikis handle the format of the text file? I understand I can use Markdown or Textile for the formatting. But what I'm most interested in is how to approach the plaintext storage of multi-user edits. I'm writing a web application that is primarily database driven. I want at least one text field of

ToC or Sidebar in GitHub Wiki

南笙酒味 提交于 2019-12-04 07:28:48
问题 How do I create a ToC or a sidebar menu in a GitHub Wiki? I saw some mentions of it and gollum the backend seems to support it, but how do I do it in a current GitHub project? It should best be based on the headers I have in the page automatically. These links all mention it, but do not show how to do it: https://gist.github.com/379469 - some JavaScript hack https://github.com/blog/774-git-powered-wikis-improved - GitHub mentioning it: "GitHub Wikis have a little-documented ability for

How to get image URLs in different pages using a single WIKI api call?

拜拜、爱过 提交于 2019-12-04 05:34:02
问题 We can get text extract of different pages in a single wiki api call by using pipe character ( | ). For eg : http://en.wikipedia.org/w/api.php?format=json&action=query&prop=extracts&exlimit=max&explaintext&exintro&titles=Yahoo|Google&redirects= By using this api call, we can get datas about Google and Yahoo in text format. Here we get datas of both Google and Yahoo in a single api call. I want to get image urls of both Google and Yahoo in a single wiki api call. Is there any method to get all

Automatically Generate GitHub Wiki Documentation from Python Docstrings

感情迁移 提交于 2019-12-04 03:55:22
The title says it all. What I imagine is to have docstrings for all of my modules, classes and functions and somehow nicely navigate the doc via github (wiki?). Also, the doc should be in sync with latest code meaning it should be updated/re-generated on push. Is that possible? Kevin Gray Just pipe the output of the docstring to a .md file. Like this: pydoc 'example_lib > example_lib.md . 来源: https://stackoverflow.com/questions/29660467/automatically-generate-github-wiki-documentation-from-python-docstrings

How to encourage non-anonymous editing on MediaWiki?

我是研究僧i 提交于 2019-12-04 02:53:16
Problem At work we have a department wiki (running Mediawiki ). Unfortunately several persons edit without logging in, and that makes it very difficult to track down editors to ask questions about the content. There are two strategies to improve this encourage logged in editing discourage anonymous editing. Encouraging For this part, any tips are welcome. But of course there is always risks involved in rewarding behaviours . Discourage I know that this must be kept low or else it will discourage any editing. But something just slightly annoying would be nice to have. [update] I know it is

login to mediawiki using RCurl

房东的猫 提交于 2019-12-03 21:12:11
how can I login to a mediawiki with RCurl (or Curl, and I can adapt it to the R package)? I just want to parse a page but I need to login otherwise I can't access it. The Mediawiki API has a login function which returns cookies and a token. You have to save and send both back to the API in order to authenticate the session and login. Here's a way to do it with curl and XMLstarlet in bash: Send a request for a login token, saving the cookies in cookies.txt and the output in output.xml. curl -c cookies.txt -d "lgname=YOURNAME&lgpassword=YOURPASS&action=login&format=xml" http://your

Compare TinyMCE and CKeditor for a Wiki

空扰寡人 提交于 2019-12-03 19:49:57
问题 For a custom wiki django-wakawaka, i want to be able to add a WYSIWYG support. TinyMCE is obviously the most popular plugin, used even by Wordpress. But CK-editor seems more feature full. Those who have used either of these or both, which is better and why. Are there some better packages, that I am missing? Is there something that I am missing when I conclude CKeditor is better, by going through them (because it is not as widely used). I want to use it with django and jquery, with multiple

Wiki - File versioning

一曲冷凌霜 提交于 2019-12-03 16:36:23
I am building a wiki-like website, and am wondering how to implement the file versioning to create articles history. I would like to be able, when someone edits a file, to be able to display which parts were edited, and to revert back to a previous file if necessary. EDIT: Thank you for your responses. I started to go through them, and then I realized my post was not very precise. So I may add that I am using Java as a development language (Groovy through Grails to be precise). Also, the application I am building is not only a Wiki. It does plenty of other stuff but some parts should be

Collapsible header in Markdown to html

北城余情 提交于 2019-12-03 16:07:23
问题 Our internal git-lab wiki works with Markdown. I made several summaries of articles and want to post them in our wiki, in such a way that if I click on the header, it should unfold and the text should become visible, basically like in this example Does Markdown have this expand/collapse/fold function? 回答1: Short Answer: No, Markdown does not offer a feature like that directly, but with some work you might be able to build something that works. For a feature like that to work you would need