Add encodebase64/decodebase64 operators

Proposed by @ericshulman
This commit is contained in:
jeremy@jermolene.com
2023-02-02 09:55:54 +00:00
parent f249b79e81
commit 89fd8871b6
4 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
title: Filters/Base64
description: Test {encode|decode}base64 operators
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]
title: Output
\whitespace trim
(<$text text={{{ [[Jeremy1234]encodebase64[]] }}}/>)
(<$text text={{{ [[]encodebase64[]] }}}/>)
(<$text text={{{ [[SmVyZW15MTIzNA==]decodebase64[]] }}}/>)
(<$text text={{{ [[]decodebase64[]] }}}/>)
+
title: ExpectedResult
<p>(SmVyZW15MTIzNA==)
()
(Jeremy1234)
()</p>