Fix up formatting in the docs package to use Prettier correctly (#370)

* Add .prettierignore to docs package

* Fix up prettier errors
This commit is contained in:
Marshall Polaris 2022-05-31 14:50:21 -07:00 committed by GitHub
parent c640b4c830
commit cee8e8b892
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 16 deletions

2
docs/.prettierignore Normal file
View File

@ -0,0 +1,2 @@
.docusaurus/
build/

View File

@ -27,10 +27,10 @@ Uniswap's CPMM and a suggestion from Manifold user Pepe.
- You can sell back your shares for cash. If you sell YES shares, the market probability will go down. If you sell NO shares, the probability will go up. - You can sell back your shares for cash. If you sell YES shares, the market probability will go down. If you sell NO shares, the probability will go up.
- Manifold charges fees on each trade. They are baked into the number of shares you receive. - Manifold charges fees on each trade. They are baked into the number of shares you receive.
- If you place a M$100 bet on YES when the probability is 50%, you may end up with 150 YES shares. These shares already include our fees. Notice also that when you buy, the probability goes up, so you are not getting in exactly at 200 shares or 50%. - If you place a M$100 bet on YES when the probability is 50%, you may end up with 150 YES shares. These shares already include our fees. Notice also that when you buy, the probability goes up, so you are not getting in exactly at 200 shares or 50%.
- Our fee schedule is currently: 13% * (1 - post-bet probability) * bet amount - Our fee schedule is currently: 13% _ (1 - post-bet probability) _ bet amount
- The post-trade probability is what the market probability would be after your bet if there were no fees. - The post-trade probability is what the market probability would be after your bet if there were no fees.
- Example: - Example:
- If you bet M$100 on NO and the resulting probability without fees would be 10%, then you pay M$100 * 13% * 10% = M$1.3. - If you bet M$100 on NO and the resulting probability without fees would be 10%, then you pay M$100 _ 13% _ 10% = M$1.3.
- If you bet M$100 on YES and the resulting probability without fees would be 90%, then you pay `M$100 * 13% * 10% = M$1.3`. - If you bet M$100 on YES and the resulting probability without fees would be 90%, then you pay `M$100 * 13% * 10% = M$1.3`.
- The fees are used to provide a commission to the market creator and to subsidize trading within the market. - The fees are used to provide a commission to the market creator and to subsidize trading within the market.
- The market creators commission is paid out only after the market is resolved. - The market creators commission is paid out only after the market is resolved.

View File

@ -10,7 +10,6 @@ Nope! Each account starts with a free M$ 1000. If you invest it wisely, you can
Manifold Dollars, or mana for short. Manifold Dollars, or mana for short.
### Can M$ be sold for real money? ### Can M$ be sold for real money?
No. Gambling laws put many restrictions on real-money prediction markets, so Manifold uses play money instead. No. Gambling laws put many restrictions on real-money prediction markets, so Manifold uses play money instead.
@ -30,7 +29,6 @@ In general, prediction markets are very accurate. They do have some known issues
As a general heuristic, check the total pool for the market in question. The more M$ there is in the market, the more likely it is to be accurate. As a general heuristic, check the total pool for the market in question. The more M$ there is in the market, the more likely it is to be accurate.
### Can I participate without having a Google account? ### Can I participate without having a Google account?
No. See [here](https://manifold.markets/hamnox/will-manifold-markets-add-nongoogle) for the probability that this changes. No. See [here](https://manifold.markets/hamnox/will-manifold-markets-add-nongoogle) for the probability that this changes.

View File

@ -51,8 +51,8 @@ const config = {
scripts: [ scripts: [
{ {
src: 'https://cdn.jsdelivr.net/npm/link-summoner@1.0.2/dist/browser.min.js', src: 'https://cdn.jsdelivr.net/npm/link-summoner@1.0.2/dist/browser.min.js',
async: 'true' async: 'true',
} },
], ],
themeConfig: themeConfig: