Neue 貼文格式(簡稱為 NPF)可讓你在單一篇貼文中加入多種類型的內容。
在應用程式中
任何從 Tumblr iOS 或 Android 應用程式製作的貼文都會採用 Neue 貼文格式。
開啟貼文編輯工具時,你會在畫面的底部看到一排圖示。
從左到右分別為:
- Aa:文字格式的選項,適用於文字區塊。
- 鏈結圖示:點一下就可以加入一個連結區塊。
- GIF:讓你使用裝置上的影片或是 Tumblr 的 GIF 搜尋功能來創作一個 GIF,如此會插入一個影像區塊。
- 相簿圖示:開啟裝置的影像媒體庫,你可以插入一個影像區塊或是影片區塊。
- 耳機:在 SoundCloud 或 Spotify 上搜尋歌曲然後以音訊區塊的形式插入到貼文中。
請注意:當你把一些文字反白選取的時候,你就只會看到 Aa 圖示和文字格式選項,取消文字選取來顯示區塊類型圖示。
每個圖示會對應到一個可供加入到貼文中的不同內容區塊類型,我們將在下面介紹各個類型的區塊。
文字選項
在一篇貼文中輸入一些文字,然後將其反白選取,以存取文字格式選項。
在此你將會發現以下的選項:
- 第一排中會是顏色,點一下一個顏色來套用到所選取的文字。
- 按住 Aa 圖示來變更文字的子類型:
- Regular:預設的文字大小。
- Bigger:中型的字型大小。
- Biggest:大型的文字大小,可用這個選項來建立貼文標題。
- Quote:相當於引言貼文類型。
- Chat:相當於對話貼文類型。
- Lucille:草寫體。
- Indented:區塊引述。
- Bulleted list:使用項目符號的未排序清單。
- Numbered list:排序清單。
- 你可以點一下 Aa 圖示來循環選取這些子類型。
- 在 Aa 圖示的右邊,你還會找到其他幾個選項,從左到右分別為:
- 粗體(B)
- 斜體(i)
- 刪除線(S)
- 小(<s>)
- 超連結
- 點一下這個圖示,然後貼上你的 URL 來為文字加入連結。
如要深入了解文字格式選項,請參閱這篇說明文章。
加入連結
點一下鏈結圖示來插入一個連結區塊。小秘訣:如果你已經把你的 URL 複製到剪貼簿中了,Tumblr 將會問你是否要使用該連結。
插入一個 GIF
點一下 GIF 圖示來帶出 GIF 搜尋功能。點一下放大鏡來搜尋 GIF,或者使用「創造一個 GIF」來自行創作一個。
如要深入了解如何創作 GIF,請參閱這篇文章。
加入相片或影片
點一下相片圖示來開啟裝置的影像媒體庫。
在貼文中加入一個影像之後,點一下右下角的那個三點來加入替代文字,替代文字應該要是你的影像的簡短描述,以讓使用螢幕助讀程式的人可以了解你的貼文。
點一下調色盤圖示來編輯影像,您可加入濾鏡、貼紙和文字。
如要深入了解如何拍攝及編輯相片,請參閱這篇說明文章,有關張貼影片的說明文章則是在這裡。
音訊
點一下耳機圖示來在 Spotify 和 SoundCloud 中搜尋歌曲。
如要深入了解如何張貼音訊,請參閱這篇文章。
重新安排內容區塊
你可以按住一個區塊然後拖曳到貼文中的不同位置:
如果要刪除一整個區塊的話,只要把區塊拖放到垃圾桶圖示中就可以了。
在網頁版上
在網頁版上,你可以選擇使用測試版貼文編輯工具,這個工具使用 Neue 貼文格式。如要使用的話,請在製作貼文的時候,在右上角切換開啟。
這個編輯工具使用跟行動裝置版的功能相同的內容區塊類型,但是依據你所按的貼文類型圖示的不同,貼文編輯工具看起來會有一點不同,我們將在下面說明各個選項。
文字貼文
Click the Aa/text post option and you'll see a familiar post editor:
The icons on the right side of the post are as follows, from left to right:
- Camera: Upload an image.
- Video: Upload a video.
- GIF: Opens GIF search.
- Audio: Search for a track on Spotify or Soundcloud, or paste a URL from Spotify, Soundcloud, or Bandcamp. We're working to add support for audio file uploads.
- Link: Insert a link block.
- Three dots: Insert a read-more link.
Type some text, then highlight it to bring up the text formatting options:
From left to right, the options are:
- Text subtype options. Click to expand the dropdown menu:
- Regular:預設的文字大小。
- Bigger:中型的字型大小。
- Biggest:大型的文字大小,可用這個選項來建立貼文標題。
- Quote:相當於引言貼文類型。
- Chat:相當於對話貼文類型。
- Lucille:草寫體。
- Indented:區塊引述。
- Bulleted list:使用項目符號的未排序清單。
- Numbered list:排序清單。
- 刪除線(S)
- 小(<s>)
- 粗體(B)
- 斜體(i)
- 超連結
- Font colors
Learn more about your text formatting options here.
Photo Posts
Click the photo post icon to open this editor:
You can upload images from your computer or add images by pasting a URL.
When entering a caption below your image, you will see all of the options we covered in the text posts section. You can add any content block type to the caption.
You can learn more about adding photos to your posts in this article.
Quote Posts
Clicking the quote post icon will open a text post with the text subtype set to quote:
Link Posts
Click the link post icon to open a new post with a link block already inserted. You can then paste or type the URL you'd like to use in your post.
Chat Posts
Clicking the chat post icon will open a text post with the text subtype set to chat:
Audio Posts
Click the audio post icon to open a post form with a pre-inserted audio block. You can search for a track on Spotify or Soundcloud, or paste an audio URL from Spotify, Soundcloud, or Bandcamp.
Learn more about audio options here.
Video Posts
Click the video post icon to open a post form with these two options:
Click the option on the left to upload a video file from your computer. Click the option on the right to use a video URL. You can learn more about posting video in this help article.
NPF-Specific Limits
The Neue Post Format has some limits:
- A single text block can contain a maximum of 4,096
characters. If you paste or write a single paragraph that exceeds
this limit, it will be broken up into two (or more) text blocks.
- Once your post has been created, each individual paragraph is converted to a text block.
- The maximum number of mentions is 50. This is to prevent spam and abuse.
- The maximum number of inline links is 100. The maximum number of link blocks allowed in a single post is 10.
- The maximum number of image blocks allowed in a single post is 10.
- The maximum number of video blocks allowed in a single post is 10. However, at this time you can only upload one video per post.
- The maximum number of audio blocks allowed in a single post is 10.
- There is an overall post size limit of 1MB.
In cases where two limits overlap each other, the more restrictive limit applies.
There is no limit on the number content blocks allowed in a single post.
What About Post Types?
By default, all new original posts created via NPF are considered legacy regular/text type posts. The semantic of a single "post type" no longer makes sense for NPF posts that can have a variety of content block types rather than emphasizing a single content type.
That said, NPF posts are mapped to a legacy post type depending on what content blocks you add to your post. You can read more about the logic here.
NPF and Tumblr Themes
NPF posts may display differently than legacy posts. To reduce the impact of this on blog themes, we created the "Use new post types" toggle.
This toggle adds a simple CSS patch to your blog’s theme to improve the way NPF posts appear on your blog. It’s on for everyone by default, but you can always turn it off from the "Edit theme" panel.
Documentation
For more on what went into creating the Neue Post Format, check out our Engineering blog post. The complete NPF specifications can be found on Github.
評論
0 條評論
文章評論已關閉。