All posts
Last edited: Jan 18, 2025

How to use template in AFFINE?

Allen

How to Save a Template

Open the page's Property and check the Template option.

mw1HTEj6nP40PfzBYCEelZC51hLcmG0gYCVkpLCsrR8=

  • Open the Property from the document's top bar and select the Template checkbox.

fbNEp0u_w72qwgl0zKGmb9lIIV0kYbsOydVJZDFm8Uc=

  • Open Property in the doc info area and select Template.

Ny34Y_J97aBoVr3smiG0ajPlahsgv756T_rsfLNNfps=

Once checked, a Template edit option will appear at the top, indicating that your Template setting is active.

How to Use a Template for Creation

In the product, you can use different entry points to create documents with a Template. Specifically:

Using a Template in a Blank Document

Rdmb1qVhNJYTNQ1-LoGYEwtb3224yxczXYUzNzi2HXI=

Whenever you open a new document, three new entry points will appear at the bottom, select Template.

Setting a Template for Journal

xIszwQuI-25Njt8L4NeI311MvqgAAA11ozHa8Ex83Dw=

A distinct template for the Journal can be added, which will be visible upon opening the Journal sidebar. After configuring it, modifications can be made at the bottom. Additionally, this can be adjusted in Settings under Workspace, Preference, and My Template.

cAOGM0McqunkU4cHm0eicr_bv2tQPXrt1HTgIQPkvpg=

Setting a Template for Every New Document

sdbvx3zFD5TEpIbnDVIh2x18IM15dhYN2q6X0M5JwWA=

If you want every document to use a specific template style by default, you can enable the specified setting in Settings/Preference/My Template. Note that the Template's activation order is: Journal's Template > Doc's Template, so when you set Doc's Template, Journal will still follow Journal's Template default setting.

Modify the Add Button to Ask Every Time in Settings

b7bfsWScP0D-UBMDlLZtpV-xwEOQLP2Gv71GaNEL25c=

Version 0.20 and above offers a new creation option. You can choose "Ask me every time" in Settings/Editor/New doc default mode. This way, every time you create a new file, you can choose from a blank Page, blank edgeless, and Template.

XDmxkGcsVEm2QZ8PkYHp57PTprnRO0AZzNuCH0HCZSA=

How to Adjust a Template

_aTvFQ7lwW3jOzzB-cVbAjohCreitafVygTk3jDTAi8=

You can open the corresponding Template document in the All docs page to modify the Template. In this version, you can select Template at the bottom of the sidebar and directly navigate to the corresponding document for modification.

Frequently Asked Questions

Does the Template differentiate between edgeless and page?

Templates use Snapshot for import and export, so they do not differentiate between Edgeless and Page. Content from both Edgeless and Page will be added to the document.

How should I create a Template in Edgeless mode?

Simply set the doc mode to Edgeless in the Property.

Can I directly use the official website's Templates?

Currently, you cannot directly use the official website's Templates within the AFFiNE App. However, you can still import them via the website's Template page and then modify the Property attributes to set it as a default Template.

Are the preference settings for Journal and Doc's Templates distinguished?

Yes, the Templates for Journal and Doc are independent and can be set separately.

Is the Template list shared across the workspace?

Yes, Templates are shared across the workspace.

Get more things done, your creativity isn't monotone

Explore on Desktop
Stars on GitHub