Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evref-bl/mooseide-export-markdown
I am an helper for MooseIDE Export browser that supports markdown table
https://github.com/evref-bl/mooseide-export-markdown
Last synced: 28 days ago
JSON representation
I am an helper for MooseIDE Export browser that supports markdown table
- Host: GitHub
- URL: https://github.com/evref-bl/mooseide-export-markdown
- Owner: Evref-BL
- Created: 2023-08-21T13:17:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-21T13:20:35.000Z (over 1 year ago)
- Last Synced: 2023-08-21T14:35:45.308Z (over 1 year ago)
- Language: Smalltalk
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MooseIDE-Export-Markdown
I am an helper for MooseIDE Export browser that supports markdown table
## Installation
```smalltalk
Metacello new
githubUser: 'Evref-BL' project: 'MooseIDE-Export-Markdown' commitish: 'main' path: 'src';
baseline: 'MooseIDEExportMarkdown';
load
```## Usage
```smalltalk
exportBrowserModel := MiExportModel new.
exportBrowserModel entitiesList: violations."Remove default column"
exportBrowserModel removeColumnForQueryNamed: #Name.
exportBrowserModel removeColumnForQueryNamed: #Type."export"
exportBrowserModel addColumnForQuery: [ :violation | violation violatedCondition name ] withName: #'Rule name'.
exportBrowserModel addColumnForQuery: [ :violation | violation violatedCondition summary ] withName: #'Rule summary'.exportBrowserModel addColumnForQuery: [ :violation | violation violatingEntity printString ] withName: #'Violating entity'.
'D:/target.md' asFileReference writeStreamDo: [ :stream | exportBrowserModel writeMarkdownTableOn: stream ].
```