I used the logic for a different thing than a cooking recipe. Instead, I described on my 11ty powered website the process of building a bicycle with all required ingredients (parts), and cookware (tools). See Fairlight Strael Build Notes. At the end of the document you see a list of parts to order and tools to use. Those lists are created by using markdown-it-cooklang.
npm i markdown-it-cooklang
var markdownIt = require('markdown-it');
var markdownItCooklang = require('markdown-it-cooklang');
There is no configuration.