Coder Social home page Coder Social logo

anitrend / support-markdown Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 1000 KB

Markdown library tailored to work with the anilist markdown standard. https://files.kiniro.uk/anilist-flavored-markdown-v1.md

License: Apache License 2.0

Kotlin 100.00%
anilist anitrend markdown markwon

support-markdown's Introduction

anitrend

A GraphQL API for multiple data sources with caching capabilities.

Setup

To get started you need to run the following:

cp .env.default .env

Virtual environment

This project primarily uses poetry to manage dependency, after installing run:

poetry init
poetry install

Migrations

If you are not using something like PyCharm your virtual environment may not be automatically activated, all the python commands for this case would need to be run using poetry run python see: https://python-poetry.org/docs/basic-usage/#using-poetry-run

Create migrations and migrate

poetry run python manage.py makemigrations
poetry run python manage.py migrate

Starting the server

poetry run python manage.py runserver

If you wish to exporting graphql schema use:

poetry run python manage.py graphql_schema

The result will be saved in ./tmp

Starting process workers

poetry run python manage.py qcluster

See /admin/django_q/ for tasks updates

License

    Copyright (C) 2021  AniTrend

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

support-markdown's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

luk1337

support-markdown's Issues

Resolve gif playback and artifacts issue upon playback

Issue Guidelines

Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.

You may find an answer in already closed issues:
https://github.com/AniTrend/support-markdown/issues?q=is%3Aissue+is%3Aclosed

Description Of Bug

See: noties/Markwon#400

Additional Context

Alternatively we could just add a media decoder from io.noties.markwon.image.gif.GifMediaDecode -> which can be done by using the following:

.usePlugin(ImagesPlugin.create { plugin -> 
    plugin.addMediaDecoder(GifMediaDecoder.create()) 
})

The limitation of the default media decoder is the fact that we cannot intercept the request pipeline or utilise caching from Coil or Glide

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/android-spotless.yml
  • actions/checkout v4
  • actions/setup-java v4
  • gradle/gradle-build-action v3
.github/workflows/android-test.yml
  • actions/checkout v4
  • actions/setup-java v4
  • mikepenz/action-junit-report v4
.github/workflows/auto-approve.yml
  • hmarr/auto-approve-action v3
.github/workflows/first-contribution-greeting.yaml
  • actions/first-interaction v1
.github/workflows/gradle-dokka.yml
  • actions/checkout v4
  • actions/setup-java v4
  • gradle/gradle-build-action v3
  • JamesIves/github-pages-deploy-action v4.6.0
.github/workflows/gradle-wrapper-validation.yaml
  • actions/checkout v4
  • gradle/wrapper-validation-action v3
.github/workflows/release-drafter.yml
  • release-drafter/release-drafter v6
  • peter-evans/repository-dispatch v3
.github/workflows/stale.yaml
  • actions/stale v9
.github/workflows/version-updater.yaml
  • actions/checkout v4
  • peter-evans/create-pull-request v6
gradle
buildSrc/src/main/java/co/anitrend/support/markdown/buildSrc/common/Configuration.kt
buildSrc/src/main/java/co/anitrend/support/markdown/buildSrc/common/Constants.kt
buildSrc/src/main/java/co/anitrend/support/markdown/buildSrc/plugin/CorePlugin.kt
buildSrc/src/main/java/co/anitrend/support/markdown/buildSrc/plugin/components/AndroidConfiguration.kt
buildSrc/src/main/java/co/anitrend/support/markdown/buildSrc/plugin/components/AndroidDependencies.kt
buildSrc/src/main/java/co/anitrend/support/markdown/buildSrc/plugin/components/AndroidOptions.kt
buildSrc/src/main/java/co/anitrend/support/markdown/buildSrc/plugin/components/AndroidPlugins.kt
buildSrc/src/main/java/co/anitrend/support/markdown/buildSrc/plugin/components/ProjectProperties.kt
buildSrc/src/main/java/co/anitrend/support/markdown/buildSrc/plugin/extensions/DependencyHandlerExtensions.kt
buildSrc/src/main/java/co/anitrend/support/markdown/buildSrc/plugin/extensions/ProjectExtensions.kt
buildSrc/src/main/java/co/anitrend/support/markdown/buildSrc/plugin/strategy/DependencyStrategy.kt
gradle.properties
settings.gradle
build.gradle.kts
app/build.gradle.kts
  • com.apollographql.apollo3 3.8.4
  • com.apollographql.apollo3:apollo-runtime 3.8.4
buildSrc/settings.gradle.kts
buildSrc/build.gradle.kts
gradle/libs.versions.toml
  • com.jakewharton.threetenabp:threetenabp 1.4.7
  • com.jakewharton.timber:timber 5.0.1
  • junit:junit 4.13.2
  • org.jsoup:jsoup 1.17.2
  • com.davemorrissey.labs:subsampling-scale-image-view-androidx 3.10.0
  • com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter 1.0.0
  • com.android.tools.build:gradle 8.4.0
  • androidx.activity:activity-ktx 1.9.0
  • androidx.core:core-ktx 1.13.1
  • androidx.constraintlayout:constraintlayout 2.1.4
  • androidx.fragment:fragment-ktx 1.7.0
  • androidx.fragment:fragment-testing 1.7.0
  • androidx.lifecycle:lifecycle-extensions 2.2.0
  • androidx.lifecycle:lifecycle-runtime-ktx 2.7.0
  • androidx.lifecycle:lifecycle-livedata-ktx 2.7.0
  • androidx.lifecycle:lifecycle-viewmodel-ktx 2.7.0
  • androidx.lifecycle:lifecycle-livedata-core-ktx 2.7.0
  • androidx.paging:paging-common-ktx 3.2.1
  • androidx.paging:paging-runtime 3.2.1
  • androidx.paging:paging-runtime-ktx 3.2.1
  • androidx.startup:startup-runtime 1.1.1
  • androidx.swiperefreshlayout:swiperefreshlayout 1.2.0-alpha01
  • androidx.recyclerview:recyclerview 1.3.2
  • androidx.test:core-ktx 1.5.0
  • androidx.test:runner 1.5.2
  • androidx.test:rules 1.5.0
  • androidx.test.ext:junit-ktx 1.1.5
  • io.coil-kt:coil 2.6.0
  • io.coil-kt:coil-base 2.6.0
  • io.coil-kt:coil-gif 2.6.0
  • io.coil-kt:coil-svg 2.6.0
  • io.coil-kt:coil-video 2.6.0
  • com.google.android.material:material 1.12.0
  • org.jetbrains:annotations 24.1.0
  • org.jetbrains.dokka:dokka-gradle-plugin 1.9.20
  • org.jetbrains.kotlin:kotlin-stdlib-jdk8 1.9.24
  • org.jetbrains.kotlin:kotlin-reflect 1.9.24
  • org.jetbrains.kotlin:kotlin-gradle-plugin 1.9.24
  • org.jetbrains.kotlin:kotlin-android-extensions 1.9.24
  • org.jetbrains.kotlin:kotlin-serialization 1.9.24
  • org.jetbrains.kotlinx:kotlinx-coroutines-core 1.8.0
  • org.jetbrains.kotlinx:kotlinx-coroutines-android 1.8.0
  • org.jetbrains.kotlinx:kotlinx-coroutines-test 1.8.0
  • org.jetbrains.kotlinx:kotlinx-datetime 0.5.0
  • org.jetbrains.kotlinx:kotlinx-serialization-json 1.6.3
  • io.insert-koin:koin-core 3.5.6
  • io.insert-koin:koin-test 3.5.6
  • io.insert-koin:koin-test-junit4 3.5.6
  • io.insert-koin:koin-android 3.5.6
  • io.noties.markwon:core 4.6.2
  • io.noties.markwon:editor 4.6.2
  • io.noties.markwon:html 4.6.2
  • io.noties.markwon:image 4.6.2
  • io.noties.markwon:image-coil 4.6.2
  • io.noties.markwon:inline-parser 4.6.2
  • io.noties.markwon:linkify 4.6.2
  • io.noties.markwon:simple-ext 4.6.2
  • io.noties.markwon:syntax-highlight 4.6.2
  • io.noties.markwon:ext-tasklist 4.6.2
  • io.noties.markwon:ext-strikethrough 4.6.2
  • io.noties.markwon:ext-tables 4.6.2
  • io.noties.markwon:ext-latex 4.6.2
  • io.mockk:mockk 1.13.10
  • io.mockk:mockk-android 1.13.10
  • me.saket:better-link-movement-method 2.2.0
  • com.diffplug.spotless:spotless-plugin-gradle 6.23.3
  • com.github.ben-manes.versions 0.51.0
markdown/build.gradle.kts
gradle-wrapper
gradle/wrapper/gradle-wrapper.properties
  • gradle 8.7

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.