# Weave doctype = "md2html" without building figure sub-directory?

**URL:** <https://discourse.julialang.org/t/weave-doctype-md2html-without-building-figure-sub-directory/103552>\
**Category:** General Usage\
**Tags:** question, weave\
**Created:** [September 5, 2023, 7:42pm UTC](https://discourse.julialang.org/t/weave-doctype-md2html-without-building-figure-sub-directory/103552 "2023-09-05T19:42:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matnbo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/matnbo/32/220166_2.png) [@matnbo](https://discourse.julialang.org/u/matnbo)\
**Post date:** [September 5, 2023, 7:42pm UTC](https://discourse.julialang.org/t/weave-doctype-md2html-without-building-figure-sub-directory/103552/1 "2023-09-05T19:42:36Z")

</div>

When using function `weave` of Weave.jl to build an Html file from a Julia markdown file, such as:

> weave(“mypage.jmd”; out\_path = my\_out\_path, doctype = “md2html”)

the function automtically creates a sub-directory (in the example above, under my\_out\_path) containing the figures (png files), while the created html file (in the example above, mypage.html) is already standalone (contains the figures).

Is it possible to specify in the function to not create this sub-directory? (May be I missed something but I did not find such possibility in the documentation)
