@Override
    public void render(Node node, Appendable output) {
        RendererContext context = new RendererContext(new MarkdownWriter(output));
        context.render(node);
    }
@Test
    public void testOrderedListItemsFromAst() {
        var doc = new Document();
        var list = new OrderedList();
        var item = new ListItem();
        item.appendChild(new Text("Test"));
        list.appendChild(item);
        doc.appendChild(list);

        assertRendering("", "1. Test\n", render(doc));

        list.setMarkerStartNumber(2);
        list.setMarkerDelimiter(")");
        assertRendering("", "2) Test\n", render(doc));
    }