diff --git a/README-ja.md b/README-ja.md index 269f784..0da5c7c 100644 --- a/README-ja.md +++ b/README-ja.md @@ -23,10 +23,33 @@ **辞書モード**:テキストの一行目に`#dict`と記入すると2行目以降をコロンを挟んで「表示テキスト: 出力されるテキスト」と解釈して処理します。長い文章を簡潔なタイトルで把握することができます。 -**セクションモード**:テキストの一行目に`#section`と記入すると2行目以降を「\[表示テキスト\](改行)出力されるテキスト」の連続と解釈して処理します。表示テキストの行全体を角括弧で囲み、次の行から出力されるテキストを記入します。出力されるテキストは改行を含めることができます。csvやテキストファイル群から整形済みテキストを生成する[Pythonスクリプトが付属しています](./tools/README-ja.md)。 +例: +``` +#dict +first:output value +second:other value +third:last value +``` + +**セクションモード**:テキストの一行目に`#section`と記入すると2行目以降を「\[表示テキスト\](改行)出力されるテキスト」の連続と解釈して処理します。表示テキストの行全体を角括弧で囲み、次の行から出力されるテキストを記入します。出力されるテキストは改行を含めることができます。 + +例: +``` +#section +[first] +output value +[second] +other +value +[third] +last value +``` ![screecshot02](./assets/slp02.jpg) +csvやテキストファイル群から整形済みテキストを生成する[Pythonスクリプトが付属しています](./tools/README-ja.md)。出力テキストをSingle Line Pickerで読める形式にすると、二重構造のリストを再現することができます。Single Line Pickerを2つ繋げて最初のノードに適用することで、カテゴリーを選んでから項目を選ぶようなことができるようになります。付属スクリプトで簡単に作ることができます。 + +![screecshot05](./assets/slp05.jpg) ### SLP Lora Loader / SLP Lora Loader (Model Only) diff --git a/README.md b/README.md index b77b04d..aeae36d 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,34 @@ When select this node, a button marked with the ![icon](./assets/lora.svg) icon **Dictionary Mode**: Entering `#dict` on the first line of text causes subsequent lines to be interpreted as “Display Text: Output Text” separated by colon. This allows you to grasp long contents with concise titles. +Example: +``` +#dict +first:output value +second:other value +third:last value +``` + +**Section Mode**: Entering `#section` on the first line of text, the lines following it will be interpreted and processed as a sequence of "\[display text\](line break) output text". +Enclose the entire line of display text in square brackets, and enter the text to be output starting from the next line. The output text may contain line breaks. + +Example: +``` +#section +[first] +output value +[second] +other +value +[third] +last value +``` + ![screecshot02](./assets/slp02.jpg) +[Python scripts are included](./tools/README.md) that generates formatted text from CSV or text files. By formatting the output text into a Single Line Picker-readable format, you can recreate a nested list structure. By connecting two Single Line Pickers and applying them to the first node, you can enable functionality like selecting a category before choosing an item. This can be created using the included script. +![screecshot05](./assets/slp05.jpg) ### SLP Lora Loader / SLP Lora Loader (Model Only) It's almost identical to the default loader. Since the LoRA file selection part is text instead of a combo box so that connect a Single Line Picker directly. diff --git a/assets/slp05.jpg b/assets/slp05.jpg new file mode 100644 index 0000000..a182b6f Binary files /dev/null and b/assets/slp05.jpg differ