Compare commits
1 Commits
@portaljs/
...
update-fla
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f7d28e02e |
5
.changeset/fluffy-swans-teach.md
Normal file
5
.changeset/fluffy-swans-teach.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@portaljs/components': minor
|
||||
---
|
||||
|
||||
FlatUiTables now accepts a bytes param and a parsingConfig param for CSV links
|
||||
@@ -1,11 +1,5 @@
|
||||
# @portaljs/components
|
||||
|
||||
## 0.4.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#1022](https://github.com/datopian/portaljs/pull/1022) [`83fd7727`](https://github.com/datopian/portaljs/commit/83fd7727bafb4902218777597e9848a3e3a71d87) Thanks [@luccasmmg](https://github.com/luccasmmg)! - FlatUiTables now accepts a bytes param and a parsingConfig param for CSV links
|
||||
|
||||
## 0.3.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@portaljs/components",
|
||||
"version": "0.4.0",
|
||||
"version": "0.3.2",
|
||||
"type": "module",
|
||||
"description": "https://portaljs.org",
|
||||
"keywords": [
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
# @portaljs/remark-embed
|
||||
|
||||
## 1.0.5
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [`71716ab0`](https://github.com/datopian/portaljs/commit/71716ab01875f04f51bc23ba551c7a6a9a24a335) Thanks [@olayway](https://github.com/olayway)! - Add support for shortened yt links (https://youtu.be).
|
||||
|
||||
## 1.0.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@portaljs/remark-embed",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.4",
|
||||
"description": "Converts youtube link in mdx to an iframe embed",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -1,29 +1,14 @@
|
||||
import { visit } from "unist-util-visit";
|
||||
|
||||
// https://youtu.be/vDuh7vDgGIg
|
||||
|
||||
// TODO write tests!
|
||||
function transformer(tree) {
|
||||
visit(tree, "paragraph", (node) => {
|
||||
visit(node, "text", (textNode) => {
|
||||
if (
|
||||
(textNode.value.includes("https://www.youtube.com") ||
|
||||
textNode.value.includes("https://youtu.be")
|
||||
) &&
|
||||
textNode.value.includes("https://www.youtube.com") &&
|
||||
!textNode.value.includes("\n")
|
||||
) {
|
||||
let videoId: string;
|
||||
|
||||
if (textNode.value.includes("https://youtu.be")) {
|
||||
// Extract video ID for short YT URLs
|
||||
videoId = textNode.value.split("/").pop();
|
||||
} else {
|
||||
// Extract video ID for full YT URLs
|
||||
const urlSplit = textNode.value.split(/[=&]+/);
|
||||
videoId = urlSplit[1];
|
||||
}
|
||||
|
||||
const iframeUrl = `https://www.youtube.com/embed/${videoId}`;
|
||||
const iframeUrl = `https://www.youtube.com/embed/${urlSplit[1]}`;
|
||||
Object.assign(node, {
|
||||
...node,
|
||||
type: "element",
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.4 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 410 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 449 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.8 MiB |
@@ -1,69 +0,0 @@
|
||||
---
|
||||
title: What We Shipped in Jul-Aug 2023
|
||||
authors: ['ola-rubaj']
|
||||
date: 2023-09-2
|
||||
---
|
||||
|
||||
Hey everyone! 👋 Summer has been in full swing, and while I've managed to catch some vacation vibes, I've also been deep into code. I'm super excited to share some of the latest updates and features we've rolled out over the past two months. Let's dive in:
|
||||
|
||||
## 🌷 Flowershow
|
||||
|
||||
https://flowershow.app/
|
||||
|
||||
1. **CLI is old news**: the Flowershow CLI has been deprecated in favor of our new [Flowershow Obsidian plugin](https://github.com/datopian/obsidian-flowershow).
|
||||
|
||||
2. **Self-publishing made even easier**: I wrote a [self-publish tutorial](https://flowershow.app/docs/publish-howto) to guide you through using our Obsidian plugin for publishing your digital garden.
|
||||
|
||||
3. **Cloud-publishing MVP**: The first version of our Flowershow Cloud which aims to make publishing your digital garden notes a breeze! [Check out the overview](https://flowershow.app#cloud-publish) and stay tuned 📻!
|
||||
|
||||
4. **Hydration errors from Obsidian transclusions/note embeddings are fixed**: For now, note transclusions will convert to regular links, but stay tuned — support for note embeds may be on the horizon. [Learn more](https://github.com/datopian/flowershow/issues/545)
|
||||
|
||||
5. **New Obsidian tags list format support**: I added support for Obsidian's new tag list format, so now your notes can be even more organized. [Learn more](https://github.com/datopian/flowershow/issues/543)
|
||||
|
||||
## 🗂️ MarkdownDB
|
||||
|
||||
https://github.com/datopian/markdowndb
|
||||
|
||||
1. **Auto-Publishing to npm**: Changesets now trigger auto-publishing, so we're always up to date.
|
||||
2. **Obsidian-style wiki links**: Extracting wiki links with Obsidian-style shortest paths is supported now.
|
||||
|
||||
## 📚 The Guide
|
||||
|
||||
https://portaljs.org/guide
|
||||
|
||||
I’ve sketched overviews for two upcoming tutorials:
|
||||
|
||||
1. **Collaborating with others on your website**: Learn how to make your website projects a team effort. [See it here](https://portaljs.org/guide#tutorial-3-collaborating-with-others-on-your-website-project)
|
||||
2. **Customising your website and previewing your changes locally**: Customize and preview your site changes locally, without headaches. [See it here](https://portaljs.org/guide#tutorial-4-customising-your-website-locally-and-previewing-your-changes-locally)
|
||||
|
||||
## 🌐 LifeItself.org
|
||||
|
||||
https://lifeitself.org/
|
||||
|
||||
LifeItself.org is our website built on the Flowershow template, and it's been getting some extra care too.
|
||||
|
||||
1. New blog home page layout with:
|
||||
|
||||
- **Team Top Selection**
|
||||
|
||||
![[life-itself-top-picks.png]]
|
||||
|
||||
- **Latest Blog Posts**
|
||||
|
||||
![[life-itself-latest-blogs.png]]
|
||||
|
||||
- And the long awaited filtering by category 🎉
|
||||
|
||||
![[life-itself-categories.png]]
|
||||
|
||||
[👉 Check out the changes!](https://lifeitself.org/blog)
|
||||
|
||||
2. **Blog posts layout revamp**: Refreshed design with share options, reading time estimates, and more.
|
||||
|
||||
![[life-itself-blog-post.png]]
|
||||
|
||||
---
|
||||
|
||||
That wraps it up for now! As always, I'm eager to hear your thoughts and feedback. Feel free to report issues or ask for features on our GitHub repositories. Until next time and happy publishing!
|
||||
|
||||
— Ola Rubaj, Developer at Datopian
|
||||
Reference in New Issue
Block a user