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

        assertRendering("", "- Test\n", render(doc));

        list.setMarker("*");
        assertRendering("", "* Test\n", render(doc));
    }