Skip to content

Unsupported markdown element #81

@worm2fed

Description

@worm2fed

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIf this is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions