mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Continuing documenting functions
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@575 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
Function: curly_quotes
|
||||
|
||||
--Usage--
|
||||
> curly_quotes(some_tagged_string)
|
||||
|
||||
Make quotes 'curly'.
|
||||
Single and double quotation marks are changed to opening or closing versions depending on where they appear in the text.
|
||||
|
||||
--Parameters--
|
||||
! Parameter Type Description
|
||||
| @input@ [[type:tagged string]] String to make quotes curly in.
|
||||
|
||||
--Examples--
|
||||
>>> curly_quotes("He said: 'This is cool!', she said: \"No way!\" ")
|
||||
>>> == "He said: ‘This is cool!’, she said: “No way!” "
|
||||
>>> curly_quotes("Also: ’Wrong quotes‘ ")
|
||||
>>> == "Also: ‘Wrong quotes’ "
|
||||
|
||||
Reference in New Issue
Block a user