DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:unformattedcode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Both sides next revision
plugin:unformattedcode [2011-05-12 01:57]
ach added todo
plugin:unformattedcode [2018-05-28 19:59] (current)
Klap-in [Installation]
Line 1: Line 1:
 ====== UnformattedCode Plugin ====== ====== UnformattedCode Plugin ======
- 
----- pluginnews ----- 
-headline:     By the same author 
-style:        sameauthor 
------ 
  
 ---- plugin ---- ---- plugin ----
-description: Overwrites the core ''monospace/code'' formatting to prevent text conversions (entities/typography) inside.+description: Overwrites the core ''monospace/code'' formatting to prevent text conversions (entities/typography) inside
 author     : Anika Henke  author     : Anika Henke 
 email      : anika@selfthinker.org  email      : anika@selfthinker.org 
 type       : syntax type       : syntax
-lastupdate : 2011-05-12 +lastupdate : 2016-04-03 
-compatible : +compatible : 2008-05-05, 2009-02-14, 2009-12-25 "Lemming", 2010-11-07 "Anteater", 2011-05-25 "Rincewind", 2012-01-25 "Angua", 2012-10-13 "Adora Belle", "Weatherwax", 2013-12-08 "Binky", 2014-05-05 "Ponder Stibbons", 2014-09-29 "Hrun", 2015-08-10 "Detritus", 2016-06-26 "Elenor of Tsort", 2017-02-19+
 depends    :  depends    : 
 conflicts  conflicts 
 similar    :  similar    : 
-tags       : +tags       : code, replace
  
-downloadurl: http://github.com/selfthinker/dokuwiki-plugin-unformattedcode/zipball/master +downloadurl: https://github.com/selfthinker/dokuwiki_plugin_unformattedcode/zipball/master 
-bugtracker : http://github.com/selfthinker/dokuwiki-plugin-unformattedcode/issues +bugtracker : https://github.com/selfthinker/dokuwiki_plugin_unformattedcode/issues 
-sourcerepo : http://github.com/selfthinker/dokuwiki-plugin-unformattedcode/+sourcerepo : https://github.com/selfthinker/dokuwiki_plugin_unformattedcode/
 donationurl: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=11071728 donationurl: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=11071728
 ---- ----
Line 26: Line 21:
 ===== Installation ===== ===== Installation =====
  
-Install the plugin using the [[plugin:plugin|Plugin Manager]] and the download URL above, which points to latest version of the plugin. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 ===== Examples/Usage ===== ===== Examples/Usage =====
  
-This plugin substitutes the core [[:syntax#basic_text_formatting|monospace/code formatting]], so uses the same syntax:+This plugin substitutes the core [[:wiki:syntax#basic_text_formatting|monospace/code formatting]], so uses the same syntax (i.e. surrounded by two single quotes):
  
   Here is some text with ''code inside which uses "special->syntax" and //other stuff//(tm)''.   Here is some text with ''code inside which uses "special->syntax" and //other stuff//(tm)''.
  
-This will result in nearly the same as without this plugin, except that the characters '"', '->' and '(tm)' are not converted.+This will result in nearly the same as without this plugin, except that the characters '"', '->' and '(tm)' are not converted and you will get out exactly what you put in. 
 + 
 +You can also use this alternative Syntax (i.e. surrounded by two double quotes): 
 + 
 +  Here is some text with ""code inside which uses "special->syntax" and //other stuff//(tm)""
 + 
 +This will result in the same as above. But you can also switch the overwriting of the core syntax off in a configuration option. That way you can have the %%''normal code syntax''%% behaving like you are used to and the %%""alternative syntax""%% disallowing text conversions.
  
 ===== Development ===== ===== Development =====
Line 40: Line 41:
 ==== ToDo ==== ==== ToDo ====
  
-  * add alternative syntax (%%""code""%%) to allow using both variants 
  
 ==== Change Log ==== ==== Change Log ====
  
-{{rss>http://github.com/feeds/selfthinker/commits/dokuwiki_plugin_unformattedcode/master date}}+{{rss>https://github.com/selfthinker/dokuwiki_plugin_unformattedcode/commits/master.atom date}}
  
  
Line 51: Line 51:
 Before reporting any issues (bugs or requests), please first take a look at the [[faq:pluginproblems|FAQ on plugin problems]]. Before reporting any issues (bugs or requests), please first take a look at the [[faq:pluginproblems|FAQ on plugin problems]].
  
-You can report any issues either on the [[http://github.com/selfthinker/dokuwiki_plugin_unformattedcode/issues|Issue Tracker]] or here in this section.+You can report any issues either on the [[https://github.com/selfthinker/dokuwiki_plugin_unformattedcode/issues|Issue Tracker]] or here in this section. 
 + 
 +==== Adding blanks? ====
  
 +Hi - I realized that your plugin (and the original code text as well) compresses blanks. So if you type two or more blanks only one blank is shown. Any way to show them all? Thanks //Thore 2011-08-16//
  
 +> This is normal behaviour for any kind of HTML (except for <pre>). You can add "non-breaking spaces" instead if you like. As someone just recently asked the same question in the #dokuwiki [[:IRC]] channel, here is the reply in the log: http://irc.dokuwiki.org/index.php?d=2011-11-21#msg361902 --- [[user>ach|Anika Henke]] //2011/11/24 00:14//
plugin/unformattedcode.1305158226.txt.gz · Last modified: 2011-05-12 01:57 by ach