Commit Graph
4 Commits
Author SHA1 Message Date
Stevan Freeborn 7ad0b30f34 feat: add Rust code examples and support for Rust syntax highlighting
- Added Rust syntax highlighting to the Fence component.
- Updated Markdoc functions to clone React elements with unique keys for copy and example sections.
- Included Rust code examples for various API endpoints in documentation:
  - `get_app_by_id`
  - `get_apps`
  - `get_apps_by_ids`
  - `connectivity`
  - `get_field_by_id`
  - `get_fields_by_app`
  - `get_fields_by_ids`
  - `add_file`
  - `delete_file_by_id`
  - `get_file_by_id`
  - `get_file_info_by_id`
  - `delete_list_value_by_id`
  - `save_list_value`
  - `delete_record_by_id`
  - `delete_records_by_ids`
  - `get_record_by_id`
  - `get_records_by_app`
  - `get_records_by_ids`
  - `get_records_by_query`
  - `save_record`
  - `get_report_by_id`
  - `get_reports_by_app`
2026-03-26 21:53:02 -05:00
Stevan Freeborn 1c5d57e4ed Fix: Pass Copied Content as prop
Add prop to fence component called content which will
hold the content contained within the fence component.

Update code snippet component so that it filters the fence components
passed to it as children to only display the fence component that
is same language as the selected language and pass the content prop
of the fence component to the copy code button component on each
render of the snippet component.
2023-04-26 19:31:15 -05:00
Stevan Freeborn 955de7db83 feat: add more content 2023-04-12 10:54:07 -05:00
Stevan Freeborn 5f4d4f656e feat: work on highlighting and displaying language snippets 2023-04-11 22:45:48 -05:00