﻿RubiMorph Custom Profile Samples
================================

This directory contains a working custom format profile sample for RubiMorph 1.0.0.
All filenames are ASCII so they can be downloaded and extracted safely on Windows.

Files
-----

- example-bracket-format.rubimorph-profile.json
  Custom profile using bracket syntax.

- example-input.txt
  Sample input for the bracket format.

- example-expected-output.txt
  Expected output generated by RubiMorph 1.0.0 using:
  --from-profile example-bracket-format.rubimorph-profile.json
  --to-profile example-bracket-format.rubimorph-profile.json

Syntax
------

Ruby:
[[ruby:base|reading]]

Ruby alias accepted by before_parse:
[[rb:base|reading]]

Emphasis:
[[em:text]]

The sample profile also includes an after_render rule that normalizes runs of
three or more line breaks to two line breaks.

How to try it
-------------

1. Open RubiMorph.
2. Open Custom Format > Manage Custom Formats.
3. Import example-bracket-format.rubimorph-profile.json.
4. Validate it and enable registration.
5. Select "Custom: Example Bracket Format" as both source and target.
6. Paste example-input.txt in the Text Conversion tab, or use it in File Conversion.
7. Compare the result with example-expected-output.txt.

Author work sample
------------------

No user-authored work sample is included. This package uses only short fictional
sample text prepared for RubiMorph custom profile testing.

