This gist is based on @ibrahima's version that doesn't support Next.js.
import Markdown from '@/components/markdown'
function PostBody({ content }) {
This gist is based on @ibrahima's version that doesn't support Next.js.
import Markdown from '@/components/markdown'
function PostBody({ content }) {
.App { | |
display: flex; | |
flex-direction: column; | |
justify-content: center; | |
align-items: center; | |
align-content: center; | |
} |
-- https://ellie-app.com/3P9hcDhdsc5a1 | |
module Main exposing (Model, Msg(..), init, main, update, view, viewConverter) | |
import Browser | |
import Html exposing (Attribute, Html, div, input, span, text) | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (onInput) | |
from bs4 import BeautifulSoup | |
import requests, urllib.parse | |
def paginate(url, previous_url=None): | |
# Break from infinite recursion | |
if url == previous_url: return | |
headers = { | |
"User-Agent": |
Using @tryghost/admin-api
.
Set up
http://localhost:2368
with your blog URLUsage
[package] | |
name = "wry_render_html_to_stdout" | |
authors = [ "Illia <ilya@serpapi.com>" ] | |
version = "0.1.0" | |
edition = "2021" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
wry = "0.22.5" |