function resourceBefore(code) {
    return markdownLineEndingOrSpace(code)
      ? factoryWhitespace(effects, resourceOpen)(code)
      : resourceOpen(code)
  }
In resource, after `(`, at optional whitespace.

```markdown
> | [a](b) c
        ^
```

@type {State}