MCPcopy
hub / github.com/dirk1983/deepseek / markTightParagraphs

Function markTightParagraphs

js/remarkable.js:4553–4564  ·  view source on GitHub ↗
(state, idx)

Source from the content-addressed store, hash-verified

4551}
4552
4553function markTightParagraphs(state, idx) {
4554 var i, l,
4555 level = state.level + 2;
4556
4557 for (i = idx + 2, l = state.tokens.length - 2; i < l; i++) {
4558 if (state.tokens[i].level === level && state.tokens[i].type === 'paragraph_open') {
4559 state.tokens[i + 2].tight = true;
4560 state.tokens[i].tight = true;
4561 i += 2;
4562 }
4563 }
4564}
4565
4566module.exports = function deflist(state, startLine, endLine, silent) {
4567 var contentStart,

Callers 1

remarkable.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…