1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 05:19:57 +00:00

Improve documentation of how to disable CamelCase (#8626)

This commit is contained in:
j. redhead 2024-09-30 08:28:41 -05:00 committed by GitHub
parent 1e6d7b030f
commit fc197e1bfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 18 additions and 8 deletions

View File

@ -1,6 +1,10 @@
created: 201308281853
modified: 201308281853
created: 20130828185300000
modified: 20240923162029767
tags: Definitions
title: CamelCase
CamelCase is formed by taking a phrase, capitalising the initial letter of each word, and smashing the words together to form a portmanteau word. Most wikis use CamelCase to signal phrases that should automatically become links.
CamelCase is formed by taking a phrase, capitalising the initial letter of each word, and smashing the words together to form a portmanteau word. Traditionally most wikis including ~TiddlyWiki use CamelCase to signal phrases that should automatically become links.
You can also [[disable CamelCase linking in TiddlyWiki|How to turn off camel case linking]] if you want.
<<.from-version 5.3.0>> ~CamelCase is disabled by default in new wikis.

View File

@ -1,5 +1,5 @@
created: 20161209172820513
modified: 20170204191306382
modified: 20240923161828376
tags: [[Customise TiddlyWiki]] Learning
title: How to turn off camel case linking
type: text/vnd.tiddlywiki
@ -8,12 +8,18 @@ CamelCase is used in most Wikis, but it can interfere with text presentation in
!! Turning off Camel Case locally
To turn off a particular instance of a CamelCase text, simply put a tilde (~) in front of the word, like this:
To prevent a particular CamelCase word from being linked, simply put a tilde (~) in front of the word, like this:
```
~CamelCase
```
If you need to disable CamelCase for just an entire tiddler, you can use the [[\rules pragma|Pragma: \rules]]:
```
\rules except wikilink
```
!! Turning off Camel Case globally
To turn off CamelCase in all tiddlers, navigate to the [[Control Panel|$:/ControlPanel]]. Select the `Settings` tab and then scroll or read down to the ``Camel Case Wiki Links`` section and unselect ``Enable automatic CamelCase linking``.

View File

@ -1,5 +1,5 @@
created: 20220917112931273
modified: 20230724184044642
modified: 20240923161726957
tags: Pragmas
title: Pragma: \rules
type: text/vnd.tiddlywiki
@ -18,8 +18,8 @@ For example, in stylesheets it is typical to only use the rules associated with
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
```
Some users prefer not to use CamelCase links:
Disable CamelCase for just one tiddler:
```
\rules except prettylink
\rules except wikilink
```