Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendered Markdown and HTML have unexpected column order #5

Open
caufieldjh opened this issue Apr 3, 2023 · 0 comments
Open

Rendered Markdown and HTML have unexpected column order #5

caufieldjh opened this issue Apr 3, 2023 · 0 comments

Comments

@caufieldjh
Copy link

caufieldjh commented Apr 3, 2023

Rendering data as Markdown appears to rearrange columns relative to YAML.
Example, with the schema here and the data here:

$ linkml-render -s src/schema/standards_schema_all.yaml -r OrganizationContainer -t markdown src/data/Organization.yaml -o out.md
$ head -5 out.md 

## organizations


|ror_id|wikidata_id|url|id|category|name|description|subclass_of|contributor_name|contributor_github_name|contributor_orcid|

I would expect the order to be more like it's presented in the YAML (e.g., id, name, category, description, etc).

Rendering the same in HTML retains something more like the original order, with id first, but after that the order is different (seemingly more like traversing the slots in the schema's object definition and it's ancestry).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant