From d80081c21456c4d0ee8ba73d47ce5f661879ed22 Mon Sep 17 00:00:00 2001 From: Patrick Elmer Date: Sun, 12 Mar 2023 16:20:48 +0900 Subject: [PATCH] Update readme format --- README.md | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9edfe98..aec8a35 100644 --- a/README.md +++ b/README.md @@ -122,13 +122,28 @@ applied = apply( This would create the output ```python -[ - 'paprebup' -] +['paprebup'] ``` Categories can also be combined with other characters to form groups. These need to be written inside curly brackets (`{` and `}`) and separated by a comma (`,`) or vertical line (`|`). -`apply(['a>o/{#,C}_'], ['aha', 'pana'], categories={'C': 'mnptkswlj'})` results in `['oha', 'pona']` +```python +apply(['a>o/{#,C}_'], ['aha', 'pana'], categories={'C': 'mnptkswlj'}) +``` -Environments can also include several characters. `apply('o>u/cVc_nut#', 'coconut', categories={'V': 'aeiou'})` results in `'cocunut'`. +results in +```python +['oha', 'pona'] +``` + +Environments can also include several characters. + +```python +apply('o>u/cVc_nut#', 'coconut', categories={'V': 'aeiou'}) +``` + +results in + +```python +'cocunut' +``` \ No newline at end of file