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
{{ message }}
Repository navigation
Commit 21d9ba7
Browse filesBrowse the repository at this point in the historyBrowse files
stlc-bot
committed
feat(scrape): add sourcePreference to choose between HTML conversion and published Markdown (#2010)
# Some parameter documentations has been truncated, see
473
493
# {ContextDev::Models::BatchSubmitParams::Input::Scrape::Data::MarkdownParams} for
474
494
# more details.
475
495
#
476
496
# Markdown options. Requires `formats.markdown`.
477
497
#
478
-
# @param include_images [Boolean] Include images in the Markdown using image syntax with URLs and alt text.
498
+
# @param include_images [Boolean] Include images in the Markdown using image syntax with URLs and alt text. Only a
479
499
#
480
-
# @param include_links [Boolean] Keep link URLs in the Markdown. Set false to return link text without URLs.
500
+
# @param include_links [Boolean] Keep link URLs in the Markdown. Set false to return link text without URLs. Only
481
501
#
482
502
# @param inline_images [Symbol, ContextDev::Models::BatchSubmitParams::Input::Scrape::Data::MarkdownParams::InlineImages] How base64 images appear: `placeholder` (default) or `preserve`. Requires `inclu
503
+
#
504
+
# @param source_preference [Array<Symbol, ContextDev::Models::BatchSubmitParams::Input::Scrape::Data::MarkdownParams::SourcePreference>] Where the Markdown should come from, in order of preference; the first usable so
483
505
484
506
# How base64 images appear: `placeholder` (default) or `preserve`. Requires
485
-
# `includeImages`.
507
+
# `includeImages`. Only applies to `html-conversion` extractions.
# Some parameter documentations has been truncated, see
2227
2279
# {ContextDev::Models::BatchSubmitParams::Input::Crawl::Data::MarkdownParams} for
2228
2280
# more details.
2229
2281
#
2230
2282
# Markdown options. Requires `formats.markdown`.
2231
2283
#
2232
-
# @param include_images [Boolean] Include images in the Markdown using image syntax with URLs and alt text.
2284
+
# @param include_images [Boolean] Include images in the Markdown using image syntax with URLs and alt text. Only a
2233
2285
#
2234
-
# @param include_links [Boolean] Keep link URLs in the Markdown. Set false to return link text without URLs.
2286
+
# @param include_links [Boolean] Keep link URLs in the Markdown. Set false to return link text without URLs. Only
2235
2287
#
2236
2288
# @param inline_images [Symbol, ContextDev::Models::BatchSubmitParams::Input::Crawl::Data::MarkdownParams::InlineImages] How base64 images appear: `placeholder` (default) or `preserve`. Requires `inclu
2289
+
#
2290
+
# @param source_preference [Array<Symbol, ContextDev::Models::BatchSubmitParams::Input::Crawl::Data::MarkdownParams::SourcePreference>] Where the Markdown should come from, in order of preference; the first usable so
2237
2291
2238
2292
# How base64 images appear: `placeholder` (default) or `preserve`. Requires
2239
-
# `includeImages`.
2293
+
# `includeImages`. Only applies to `html-conversion` extractions.
# Some parameter documentations has been truncated, see
327
347
# {ContextDev::Models::WebScrapeParams::MarkdownParams} for more details.
328
348
#
329
349
# Markdown options. Requires `formats.markdown`.
330
350
#
331
-
# @param include_images [Boolean] Include images in the Markdown using image syntax with URLs and alt text.
351
+
# @param include_images [Boolean] Include images in the Markdown using image syntax with URLs and alt text. Only a
332
352
#
333
-
# @param include_links [Boolean] Keep link URLs in the Markdown. Set false to return link text without URLs.
353
+
# @param include_links [Boolean] Keep link URLs in the Markdown. Set false to return link text without URLs. Only
334
354
#
335
355
# @param inline_images [Symbol, ContextDev::Models::WebScrapeParams::MarkdownParams::InlineImages] How base64 images appear: `placeholder` (default) or `preserve`. Requires `inclu
356
+
#
357
+
# @param source_preference [Array<Symbol, ContextDev::Models::WebScrapeParams::MarkdownParams::SourcePreference>] Where the Markdown should come from, in order of preference; the first usable so
336
358
337
359
# How base64 images appear: `placeholder` (default) or `preserve`. Requires
338
-
# `includeImages`.
360
+
# `includeImages`. Only applies to `html-conversion` extractions.
0 commit comments