# Non-inline mark

**URL:** https://discuss.prosemirror.net/t/non-inline-mark/8902
**Category:** Uncategorized
**Created:** [December 27, 2025, 6:42am UTC](https://discuss.prosemirror.net/t/non-inline-mark/8902 "2025-12-27T06:42:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ocavue](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/ocavue/32/2239_2.png) [@ocavue](https://discuss.prosemirror.net/u/ocavue)
#### Post date: [December 27, 2025, 6:42am UTC](https://discuss.prosemirror.net/t/non-inline-mark/8902/1 "2025-12-27T06:42:45Z")

</div>

[`MarkSpec.toDOM()`](https://prosemirror.net/docs/ref/#model.MarkSpec.toDOM) accepts an `inline: boolean` argument. According to the documentation quoted below, it’s `true` in “_typical_” cases:

> `marks` does the same for mark names, but also gets an argument that tells it whether the mark’s content is block or inline content (for typical use, it’ll always be inline).

I would like to better understand the purpose of this argument, specifically the “_non-typical_” cases where `inline` would be false.

I have looked at the [original Git commit](https://github.com/ProseMirror/prosemirror-model/commit/df80581d6c62782ebb10a2380f50011c4f096b34) that added this argument, but I still do not understand. Is `inline` can ever be false at all?

---

<div class="post-metadata">

### Author: ![marijn](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/marijn/32/15_2.png) [@marijn](https://discuss.prosemirror.net/u/marijn)
#### Post date: [December 27, 2025, 8:13am UTC](https://discuss.prosemirror.net/t/non-inline-mark/8902/2 "2025-12-27T08:13:48Z")

</div>

It’s possible to allow marks on block nodes via the [`marks`](https://prosemirror.net/docs/ref/#model.NodeSpec.marks) setting in their parent nodes.
