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

Unsupported markdown element #81

Open
worm2fed opened this issue Apr 28, 2023 · 1 comment
Open

Unsupported markdown element #81

worm2fed opened this issue Apr 28, 2023 · 1 comment
Labels
bug If this is a bug

Comments

@worm2fed
Copy link

Describe the bug

Workflow failing for some reason

Steps to reproduce

First thought was that it's failing because of image.

It's failing with both - html and plain MD syntax:

Error: Unsupported markdown element: {"type":"root","children":[{"type":"heading","depth":1,"children":[{"type":"text","value":"Clarification and motivation","position":{"start":{"line":1,"column":3,"offset":2},"end":{"line":1,"column":31,"offset":30}}}],"position":{"start":{"line":1,"column":1,"offset":0},"end":{"line":1,"column":31,"offset":30}}},{"type":"paragraph","children":[{"type":"text","value":"Users could upload a big photo, which is great, but we have a lot of different photo formats (e.g Avatar on the profile page, card on the main page, etc) so it will be cool to have at least formats and resizes like such:","position":{"start":{"line":3,"column":1,"offset":34},"end":{"line":3,"column":221,"offset":254}}}],"position":{"start":{"line":3,"column":1,"offset":34},"end":{"line":3,"column":221,"offset":254}}},{"type":"html","value":"<img width=\"330\" alt=\"image\" src=\"[https://user-images.githubusercontent.com/20303265/231201080-8852cd38-3877-4c9a-a410-ac35631e0864.png\](https://user-images.githubusercontent.com/20303265/231201080-8852cd38-3877-4c9a-a410-ac35631e0864.png/)">","position":{"start":{"line":5,"column":1,"offset":258},"end":{"line":5,"column":138,"offset":395}}},{"type":"heading","depth":1,"children":[{"type":"text","value":"Acceptance criteria","position":{"start":{"line":8,"column":3,"offset":403},"end":{"line":8,"column":22,"offset":422}}}],"position":{"start":{"line":8,"column":1,"offset":401},"end":{"line":8,"column":22,"offset":422}}},{"type":"paragraph","children":[{"type":"text","value":"When accessed with API model with photo should return different sizes.","position":{"start":{"line":10,"column":1,"offset":426},"end":{"line":10,"column":71,"offset":496}}}],"position":{"start":{"line":10,"column":1,"offset":426},"end":{"line":10,"column":71,"offset":496}}}],"position":{"start":{"line":1,"column":1,"offset":0},"end":{"line":11,"column":1,"offset":498}}}
Error: Unsupported markdown element: {"type":"root","children":[{"type":"heading","depth":1,"children":[{"type":"text","value":"Clarification and motivation","position":{"start":{"line":1,"column":3,"offset":2},"end":{"line":1,"column":31,"offset":30}}}],"position":{"start":{"line":1,"column":1,"offset":0},"end":{"line":1,"column":31,"offset":30}}},{"type":"paragraph","children":[{"type":"text","value":"Users could upload a big photo, which is great, but we have a lot of different photo formats (e.g Avatar on the profile page, card on the main page, etc) so it will be cool to have at least formats and resizes like such:","position":{"start":{"line":3,"column":1,"offset":34},"end":{"line":3,"column":221,"offset":254}}}],"position":{"start":{"line":3,"column":1,"offset":34},"end":{"line":3,"column":221,"offset":254}}},{"type":"paragraph","children":[{"type":"image","title":null,"url":"https://user-images.githubusercontent.com/20303265/231201080-8852cd38-3877-4c9a-a410-ac35631e0864.png","alt":"Example","position":{"start":{"line":5,"column":1,"offset":258},"end":{"line":5,"column":114,"offset":371}}}],"position":{"start":{"line":5,"column":1,"offset":258},"end":{"line":5,"column":114,"offset":371}}},{"type":"heading","depth":1,"children":[{"type":"text","value":"Acceptance criteria","position":{"start":{"line":8,"column":3,"offset":379},"end":{"line":8,"column":22,"offset":398}}}],"position":{"start":{"line":8,"column":1,"offset":377},"end":{"line":8,"column":22,"offset":398}}},{"type":"paragraph","children":[{"type":"text","value":"When accessed with API model with photo should return different sizes.","position":{"start":{"line":10,"column":1,"offset":402},"end":{"line":10,"column":71,"offset":472}}}],"position":{"start":{"line":10,"column":1,"offset":402},"end":{"line":10,"column":71,"offset":472}}}],"position":{"start":{"line":1,"column":1,"offset":0},"end":{"line":11,"column":1,"offset":474}}}

But then I've deleted image, and it's still failing

Error: Unsupported markdown element: {"type":"root","children":[{"type":"heading","depth":1,"children":[{"type":"text","value":"Clarification and motivation","position":{"start":{"line":1,"column":4,"offset":3},"end":{"line":1,"column":32,"offset":31}}}],"position":{"start":{"line":1,"column":1,"offset":0},"end":{"line":1,"column":32,"offset":31}}},{"type":"paragraph","children":[{"type":"text","value":"Users could upload a big photo, which is great, but we have a lot of different photo formats (e.g Avatar on the profile page, card on the main page, etc) so it will be cool to have at least formats and resizes.","position":{"start":{"line":3,"column":1,"offset":35},"end":{"line":3,"column":211,"offset":245}}}],"position":{"start":{"line":3,"column":1,"offset":35},"end":{"line":3,"column":211,"offset":245}}},{"type":"heading","depth":1,"children":[{"type":"text","value":"Acceptance criteria","position":{"start":{"line":5,"column":4,"offset":252},"end":{"line":5,"column":23,"offset":271}}}],"position":{"start":{"line":5,"column":1,"offset":249},"end":{"line":5,"column":23,"offset":271}}},{"type":"paragraph","children":[{"type":"text","value":"When accessed with API model with photo should return different sizes.","position":{"start":{"line":7,"column":1,"offset":275},"end":{"line":7,"column":71,"offset":345}}}],"position":{"start":{"line":7,"column":1,"offset":275},"end":{"line":7,"column":71,"offset":345}}}],"position":{"start":{"line":1,"column":1,"offset":0},"end":{"line":8,"column":1,"offset":347}}}

What is a problem?
Here is my issue body (without image):

# Clarification and motivation

Users could upload a big photo, which is great, but we have a lot of different photo formats (e.g Avatar on the profile page, card on the main page, etc) so it will be cool to have at least formats and resizes.

# Acceptance criteria

When accessed with API model with photo should return different sizes.

Expected behavior

Issue should be synced with notion

Additional context

No response

@worm2fed worm2fed added the bug If this is a bug label Apr 28, 2023
@worm2fed
Copy link
Author

Well, it do not support headings from 1 to 3, the rest I didn't tried...

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

No branches or pull requests

1 participant