You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My goal is to perform some additional server-side parsing on the props. So far I have this working 'solution', which required hacking in an export for default_frontmatter:
svelte.config.js
constconfig={preprocess: [mdsvex({frontmatter: {type: 'yaml',marker: '-',parse: function(value,messages){letresult=default_frontmatter(value,messages);result=propMap(result);// the magicreturnpropMap(result);}},}),]}
How do I achieve something like this without having to patch mdsvex?
The text was updated successfully, but these errors were encountered:
My goal is to perform some additional server-side parsing on the props. So far I have this working 'solution', which required hacking in an
export
fordefault_frontmatter
:svelte.config.js
How do I achieve something like this without having to patch mdsvex?
The text was updated successfully, but these errors were encountered: