开发者

Inline Code For a GitHub README Using MediaWiki

I'm writing a README.mediawiki file for my project called plainBlog on GitHub, but I want to add some inline code on it. What is the syntax for this? Also, what is the syntax for XML code (multiple lines)?

An example of inline code is located at github/markup, where we have lines like this: gem instal开发者_开发问答l wikicloth


There's a few:

 Start each line with a space.
 Text is '''preformatted''' and
 ''markups'' '''''can''''' be done

or:

<pre> Text is '''preformatted''' and
''markups'' '''''cannot''''' be done</pre>

For inline <code> spans there is no special syntax:

<code>Source code</code>

From http://www.mediawiki.org/wiki/Help:Formatting

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜