-
Added
- Gatsby v4 support
-
Updated
createRemoteFileNode
is now called fromsourceNodes
instead ofonCreatedNode
- images are named using the convention "[DOCUMENT_NAME]-[IMAGE_INDEX]" if no title found
-
Removed
- depracated MarkdownNodes cover support
- Added
- Use images titles for files names
- Handle soft lines breaks
-
Added
-
Features:
- Gatsby v3 support
- Gatsby Cloud support
- MDX support
- Script
gatsby-source-google-docs-token
for token generation - Crosslinks between documents
- Related content
- Metadata from YAML Google Drive descriptions
-
Formats
- Underline support
- Blockquote support
- Superscript support
- Subscript support
- Code Blocks support
- Inline Code support
- Footnotes support
- Font size support
- Foreground color support
- Background color support
- Horizontal tabulations
- Vertical tabulations
-
Options:
createPages
pageContext
demoteHeadings
folder
keepDefaultStyle
imagesOptions
skipCodes
skipFootnotes
skipHeadings
skipImages
skipLists
skipQuotes
skipTables
-
-
Updated
- Breadcrumb is now an array of
{name, path}
- Breadcrumb is now an array of
-
Deleted
- Options:
config
fieldsMapper
fieldsDefault
folders
updateMetadata
- Options:
- Added: tables styling by @justinsunho
- Added:
token
option
- Added:
timeBetweenCalls
option - Added:
debug
option
- Added: Transform subtitles to blockquotes
- Fixed: Remove unwanted spaces before punctuation
- Added: Allow for google doc token env variable by @justinsunho
- Added:
convertImgToNode
config option by @victsant
- Added: Enable team drives by @victsant
- Added:
fieldsDefault
option - Updated: Improve Google drive API calls number
- Updated: Dependencies
- Removed: Automatic
slug
field generation
- Added: Support for Google Drive trees
- Added:
path
frontmatter with Google Drive tree - Added:
slug
field from custom slug or Google Drive path - Updated: files structure
- Added: Support for images titles by @dmouse
- Fixed: Table headers by @dmouse
- Updated: Jest Snapshot
- Added: Add support for font styles bold, italic, strikethrough by @KyleAMathews
- Added: Snapshot test by @KyleAMathews
- Added: Support for documents extra data using
Google Drive
description field
- Added: Support for nested lists by @horaklukas
- Added: Support for ordered lists by @horaklukas
- Added: Support for inlined hypertext links by @horaklukas
- Fixed: Putting list items into the list they belong to by @horaklukas
- Fixed: Splitting one line headings or texts into more lines by @horaklukas
- Fixed: Ensure
fields
config is optional by @davidhartsough
- Added:
foldersIds
option - Added:
fields
option - Added:
fieldsMapper
option - Removed:
documents
option - Updated: Default permissions to read document from Google Drive folders
- Added: Headings support
- Added: Texts support
- Added: Images support
- Added: Lists support