diff options
Diffstat (limited to '')
-rwxr-xr-x | info/texise | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/info/texise b/info/texise deleted file mode 100755 index 48267e9..0000000 --- a/info/texise +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env python -# -*- mode: python, encoding: utf-8 -*- -# See LICENSE file for copyright and license details. - -import sys - -data = sys.stdin.read()[:-1] - -n = 0 -while '`' in data: - i = data.find('`') - replacement = '@code{' if n % 2 == 0 else '}' - data = data[:i] + replacement + data[i + 1:] - n += 1 - -print(data) |