Skip to content

Commit

Permalink
docs: about mode:"inline"
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Dec 15, 2023
1 parent 2055f36 commit a8c5bc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editions/tw5.com/tiddlers/macros/translateMacro.tid
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The difference to [[lingo Macro]] is that translatable text can be directly plac
;lingo-base-fallback
: Optional lingo-base when it is not possible to define `lingo-base` variable (for example, when using this macro in the caption field), you can set the lingo base by passing this parameter
;mode
: Optional parameter like the "mode" parameter in [[TranscludeWidget]], default to "block".
: Optional parameter like the "mode" parameter in [[TranscludeWidget]], default to "block". If you are using translation in a title, you can add `mode:"inline"` to it.

<<.macro-examples "translate">>

Expand Down Expand Up @@ -79,7 +79,7 @@ title: someTiddler

\define lingo-base() $:/plugins/yourName/pluginName/language/

!! <<translate "OpenInteractiveCard">>
!! <<translate "OpenInteractiveCard" mode:"inline">>

<<translate "SomeLongText">>
```

0 comments on commit a8c5bc0

Please sign in to comment.